aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F107
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-12 11:19:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-03-12 11:19:24 +0000
commit887409c0c96c911862f21955ee956e5fa2d8ad6f (patch)
treea4a996002bfcd4585623a81ab2d8575885ff3730 /demos/ARMCM3-STM32F107
parent3ed4800b9b4126acd3b79b108658a1145dccff6f (diff)
downloadChibiOS-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/ARMCM3-STM32F107')
-rw-r--r--demos/ARMCM3-STM32F107/mcuconf.h6
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.