diff options
Diffstat (limited to 'os/hal/boards/ST_NUCLEO64_L053R8')
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L053R8/board.h | 3 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L053R8/board.mk | 4 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO64_L053R8/cfg/board.chcfg | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/os/hal/boards/ST_NUCLEO64_L053R8/board.h b/os/hal/boards/ST_NUCLEO64_L053R8/board.h index 22557da66..d7c1c85ac 100644 --- a/os/hal/boards/ST_NUCLEO64_L053R8/board.h +++ b/os/hal/boards/ST_NUCLEO64_L053R8/board.h @@ -29,7 +29,6 @@ /*
* Board oscillators-related settings.
- * NOTE: HSE not fitted.
*/
#if !defined(STM32_LSECLK)
#define STM32_LSECLK 32768U
@@ -38,7 +37,7 @@ #define STM32_LSEDRV (3U << 11U)
#if !defined(STM32_HSECLK)
-#define STM32_HSECLK 0U
+#define STM32_HSECLK 8000000U
#endif
#define STM32_HSE_BYPASS
diff --git a/os/hal/boards/ST_NUCLEO64_L053R8/board.mk b/os/hal/boards/ST_NUCLEO64_L053R8/board.mk index 96197fbcc..68f13fa6a 100644 --- a/os/hal/boards/ST_NUCLEO64_L053R8/board.mk +++ b/os/hal/boards/ST_NUCLEO64_L053R8/board.mk @@ -1,5 +1,5 @@ # List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L053R8/board.c
+BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L053R8/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_L053R8
+BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_L053R8
diff --git a/os/hal/boards/ST_NUCLEO64_L053R8/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO64_L053R8/cfg/board.chcfg index 6dcf1e469..65047cde6 100644 --- a/os/hal/boards/ST_NUCLEO64_L053R8/cfg/board.chcfg +++ b/os/hal/boards/ST_NUCLEO64_L053R8/cfg/board.chcfg @@ -12,7 +12,7 @@ <board_id>ST_NUCLEO64_L053R8</board_id> <board_functions></board_functions> <subtype>STM32L053xx</subtype> - <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="32768" + <clocks HSEFrequency="8000000" HSEBypass="true" LSEFrequency="32768" LSEBypass="false" LSEDrive="3 High Drive (default)" /> <ports> <GPIOA> |