aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-12 14:22:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-12 14:22:48 +0000
commit792c06e58554c5ed4cb84e69fe4f6d9add173ec0 (patch)
tree235b9428826fd137cdb10a730a1a26c559f41233 /demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h
parent3cdb6f6ed629b9fd98e6c490d77bdecf5cc34685 (diff)
downloadChibiOS-792c06e58554c5ed4cb84e69fe4f6d9add173ec0.tar.gz
ChibiOS-792c06e58554c5ed4cb84e69fe4f6d9add173ec0.tar.bz2
ChibiOS-792c06e58554c5ed4cb84e69fe4f6d9add173ec0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3042 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h')
-rw-r--r--demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h b/demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h
index 0461fd201..e063a7cb7 100644
--- a/demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h
+++ b/demos/ARMCM3-STM32L152-DISCOVERY/mcuconf.h
@@ -19,7 +19,7 @@
*/
/*
- * STM32 drivers configuration.
+ * STM32L1xx drivers configuration.
* The following settings override the default settings present in
* the various device driver implementation headers.
* Note that the settings for each driver only have effect if the whole
@@ -35,14 +35,15 @@
/*
* HAL driver system settings.
*/
+#define STM32_VOS STM32_VOS_1P8
+#define STM32_MSIRANGE STM32_MSIRANGE_2M
#define STM32_SW STM32_SW_PLL
-#define STM32_PLLSRC STM32_PLLSRC_HSE
-#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
-#define STM32_PLLMUL_VALUE 3
+#define STM32_PLLSRC STM32_PLLSRC_HSI
+#define STM32_PLLMUL_VALUE 6
+#define STM32_PLLDIV_VALUE 3
#define STM32_HPRE STM32_HPRE_DIV1
#define STM32_PPRE1 STM32_PPRE1_DIV1
#define STM32_PPRE2 STM32_PPRE2_DIV1
-#define STM32_ADCPRE STM32_ADCPRE_DIV2
#define STM32_MCO STM32_MCO_NOCLOCK
/*