diff options
Diffstat (limited to 'os/hal/boards/ST_STM32F072B_DISCOVERY')
4 files changed, 9 insertions, 8 deletions
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c index 6d473d2d7..dc058f60d 100644 --- a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c +++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c @@ -53,7 +53,7 @@ const PALConfig pal_default_config = { #endif
#if STM32_HAS_GPIOH
{VAL_GPIOH_MODER, VAL_GPIOH_OTYPER, VAL_GPIOH_OSPEEDR, VAL_GPIOH_PUPDR,
- VAL_GPIOH_ODR, VAL_GPIOH_AFRL, VAL_GPIOH_AFRH}
+ VAL_GPIOH_ODR, VAL_GPIOH_AFRL, VAL_GPIOH_AFRH},
#endif
#if STM32_HAS_GPIOI
{VAL_GPIOI_MODER, VAL_GPIOI_OTYPER, VAL_GPIOI_OSPEEDR, VAL_GPIOI_PUPDR,
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h index 1ebab059b..e106b5bec 100644 --- a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.h @@ -18,14 +18,14 @@ #define _BOARD_H_
/*
- * Setup for ST STM32F072-Discovery board.
+ * Setup for ST STM32F072B-Discovery board.
*/
/*
* Board identifier.
*/
-#define BOARD_ST_STM32F072_DISCOVERY
-#define BOARD_NAME "ST STM32F072-Discovery"
+#define BOARD_ST_STM32F072B_DISCOVERY
+#define BOARD_NAME "ST STM32F072B-Discovery"
/*
* Board oscillators-related settings.
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.mk b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.mk index 1b5c0aedb..dcdfcaa94 100644 --- a/os/hal/boards/ST_STM32F072B_DISCOVERY/board.mk +++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/board.mk @@ -1,5 +1,5 @@ # List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F072_DISCOVERY/board.c
+BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_STM32F072B_DISCOVERY/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F072_DISCOVERY
+BOARDINC = ${CHIBIOS}/os/hal/boards/ST_STM32F072B_DISCOVERY
diff --git a/os/hal/boards/ST_STM32F072B_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32F072B_DISCOVERY/cfg/board.chcfg index 63b855a10..78f391780 100644 --- a/os/hal/boards/ST_STM32F072B_DISCOVERY/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32F072B_DISCOVERY/cfg/board.chcfg @@ -6,9 +6,10 @@ <configuration_settings> <templates_path>resources/gencfg/processors/boards/stm32f0xx/templates</templates_path> <output_path>..</output_path> + <hal_version>3.0.x</hal_version> </configuration_settings> - <board_name>ST STM32F072-Discovery</board_name> - <board_id>ST_STM32F072_DISCOVERY</board_id> + <board_name>ST STM32F072B-Discovery</board_name> + <board_id>ST_STM32F072B_DISCOVERY</board_id> <board_functions></board_functions> <subtype>STM32F072xB</subtype> <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0" |