aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F100-DISCOVERY
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 11:38:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 11:38:57 +0000
commit040c4026cc184427e6f37495fa7fe6ce80d67d35 (patch)
tree2645dbf643babb822dde86bcf4481612de378524 /demos/ARMCM3-STM32F100-DISCOVERY
parent32d143ae634416a6cd40db219352b707cea2dcd3 (diff)
downloadChibiOS-040c4026cc184427e6f37495fa7fe6ce80d67d35.tar.gz
ChibiOS-040c4026cc184427e6f37495fa7fe6ce80d67d35.tar.bz2
ChibiOS-040c4026cc184427e6f37495fa7fe6ce80d67d35.zip
STM32F1xx devices clock configuration updated to make it similar to the newer STM32 devices.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3763 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F100-DISCOVERY')
-rw-r--r--demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h b/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
index 46b8fa64e..aea5c25c2 100644
--- a/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
+++ b/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
@@ -35,6 +35,11 @@
/*
* HAL driver system settings.
*/
+#define STM32_NO_INIT FALSE
+#define STM32_HSI_ENABLED TRUE
+#define STM32_LSI_ENABLED FALSE
+#define STM32_HSE_ENABLED TRUE
+#define STM32_LSE_ENABLED FALSE
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSE
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
@@ -43,7 +48,8 @@
#define STM32_PPRE1 STM32_PPRE1_DIV1
#define STM32_PPRE2 STM32_PPRE2_DIV1
#define STM32_ADCPRE STM32_ADCPRE_DIV2
-#define STM32_MCO STM32_MCO_NOCLOCK
+#define STM32_MCOSEL STM32_MCOSEL_NOCLOCK
+#define STM32_RTCSEL STM32_RTCSEL_HSEDIV
#define STM32_PVD_ENABLE FALSE
#define STM32_PLS STM32_PLS_LEV0