diff options
Diffstat (limited to 'boards')
-rw-r--r-- | boards/ST_STM32F0_DISCOVERY/board.h | 3 | ||||
-rw-r--r-- | boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/boards/ST_STM32F0_DISCOVERY/board.h b/boards/ST_STM32F0_DISCOVERY/board.h index 65e5595aa..24c5899d6 100644 --- a/boards/ST_STM32F0_DISCOVERY/board.h +++ b/boards/ST_STM32F0_DISCOVERY/board.h @@ -31,7 +31,6 @@ #define BOARD_ST_STM32F0_DISCOVERY
#define BOARD_NAME "ST STM32F0-Discovery"
-
/*
* Board oscillators-related settings.
* NOTE: LSE not fitted.
@@ -41,6 +40,8 @@ #define STM32_LSECLK 0
#endif
+#define STM32_LSEDRV (3 << 3)
+
#if !defined(STM32_HSECLK)
#define STM32_HSECLK 0
#endif
diff --git a/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg b/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg index f69d6ca66..3773f03d1 100644 --- a/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg +++ b/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg @@ -10,10 +10,8 @@ <board_name>ST STM32F0-Discovery</board_name> <board_id>ST_STM32F0_DISCOVERY</board_id> <board_functions></board_functions> - <clocks - HSEFrequency="0" - HSEBypass="true" - LSEFrequency="0" /> + <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0" + LSEBypass="false" LSEDrive="3 High Drive (default)" /> <ports> <GPIOA> <pin0 |