aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO64_F072RB
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards/ST_NUCLEO64_F072RB')
-rw-r--r--os/hal/boards/ST_NUCLEO64_F072RB/board.h3
-rw-r--r--os/hal/boards/ST_NUCLEO64_F072RB/board.mk4
-rw-r--r--os/hal/boards/ST_NUCLEO64_F072RB/cfg/board.chcfg2
3 files changed, 4 insertions, 5 deletions
diff --git a/os/hal/boards/ST_NUCLEO64_F072RB/board.h b/os/hal/boards/ST_NUCLEO64_F072RB/board.h
index 21b98f98b..b8944b8fa 100644
--- a/os/hal/boards/ST_NUCLEO64_F072RB/board.h
+++ b/os/hal/boards/ST_NUCLEO64_F072RB/board.h
@@ -30,7 +30,6 @@
/*
* Board oscillators-related settings.
* NOTE: LSE not fitted.
- * NOTE: HSE not fitted.
*/
#if !defined(STM32_LSECLK)
#define STM32_LSECLK 0U
@@ -39,7 +38,7 @@
#define STM32_LSEDRV (3U << 3U)
#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_F072RB/board.mk b/os/hal/boards/ST_NUCLEO64_F072RB/board.mk
index ebf4c77cc..12617c279 100644
--- a/os/hal/boards/ST_NUCLEO64_F072RB/board.mk
+++ b/os/hal/boards/ST_NUCLEO64_F072RB/board.mk
@@ -1,5 +1,5 @@
# List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F072RB/board.c
+BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_F072RB/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO64_F072RB
+BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO64_F072RB
diff --git a/os/hal/boards/ST_NUCLEO64_F072RB/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO64_F072RB/cfg/board.chcfg
index 9cbeefa8d..1781ad0df 100644
--- a/os/hal/boards/ST_NUCLEO64_F072RB/cfg/board.chcfg
+++ b/os/hal/boards/ST_NUCLEO64_F072RB/cfg/board.chcfg
@@ -12,7 +12,7 @@
<board_id>ST_NUCLEO64_F072RB</board_id>
<board_functions></board_functions>
<subtype>STM32F072xB</subtype>
- <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0"
+ <clocks HSEFrequency="8000000" HSEBypass="true" LSEFrequency="0"
LSEBypass="false" LSEDrive="3 High Drive (default)" />
<ports>
<GPIOA>