diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-12 11:19:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-12 11:19:24 +0000 |
commit | 887409c0c96c911862f21955ee956e5fa2d8ad6f (patch) | |
tree | a4a996002bfcd4585623a81ab2d8575885ff3730 /demos | |
parent | 3ed4800b9b4126acd3b79b108658a1145dccff6f (diff) | |
download | ChibiOS-887409c0c96c911862f21955ee956e5fa2d8ad6f.tar.gz ChibiOS-887409c0c96c911862f21955ee956e5fa2d8ad6f.tar.bz2 ChibiOS-887409c0c96c911862f21955ee956e5fa2d8ad6f.zip |
STM32 HAL improvements (CL devices).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2820 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM3-STM32F107/mcuconf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F107/mcuconf.h b/demos/ARMCM3-STM32F107/mcuconf.h index 3c741ceb8..9ff306342 100644 --- a/demos/ARMCM3-STM32F107/mcuconf.h +++ b/demos/ARMCM3-STM32F107/mcuconf.h @@ -34,6 +34,9 @@ /*
* HAL driver system settings.
*/
+#define STM32_ACTIVATE_PLL1 TRUE
+#define STM32_ACTIVATE_PLL2 TRUE
+#define STM32_ACTIVATE_PLL3 TRUE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_PREDIV1
#define STM32_PREDIV1SRC STM32_PREDIV1SRC_PLL2
@@ -41,12 +44,13 @@ #define STM32_PLLMUL_VALUE 9
#define STM32_PREDIV2_VALUE 5
#define STM32_PLL2MUL_VALUE 8
+#define STM32_PLL3MUL_VALUE 10
#define STM32_HPRE STM32_HPRE_DIV1
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV2
#define STM32_ADCPRE STM32_ADCPRE_DIV4
#define STM32_OTGFSPRE STM32_OTGFSPRE_DIV3
-#define STM32_MCO STM32_MCO_NOCLOCK
+#define STM32_MCO STM32_MCO_PLL3
/*
* ADC driver system settings.
|