summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2019-09-10 12:57:43 -0400
committerNathan Conrad <[email protected]>2019-09-10 12:57:43 -0400
commit4f6bedeac9a683ffd11efded8650f1aa95dc2f5d (patch)
treef78d47e7bbe7935d07601b3284d3b873ceab04d0 /hw
parent23d39f2b15807f3f2fe295f0d0da469e9535d202 (diff)
Rename the STM32 MCU options.
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/stm32f070rbnucleo/board.mk2
-rw-r--r--hw/bsp/stm32f303disco/board.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/bsp/stm32f070rbnucleo/board.mk b/hw/bsp/stm32f070rbnucleo/board.mk
index a9fca5f8d..e4036982e 100644
--- a/hw/bsp/stm32f070rbnucleo/board.mk
+++ b/hw/bsp/stm32f070rbnucleo/board.mk
@@ -6,7 +6,7 @@ CFLAGS += \
-mcpu=cortex-m0 \
-mfloat-abi=soft \
-nostdlib -nostartfiles \
- -DCFG_TUSB_MCU=OPT_MCU_STM32F0x0
+ -DCFG_TUSB_MCU=OPT_MCU_STM32F0
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F0xx_HAL_Driver
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F0xx
diff --git a/hw/bsp/stm32f303disco/board.mk b/hw/bsp/stm32f303disco/board.mk
index 7a1899a18..f8f689a92 100644
--- a/hw/bsp/stm32f303disco/board.mk
+++ b/hw/bsp/stm32f303disco/board.mk
@@ -7,7 +7,7 @@ CFLAGS += \
-mfloat-abi=hard \
-mfpu=fpv4-sp-d16 \
-nostdlib -nostartfiles \
- -DCFG_TUSB_MCU=OPT_MCU_STM32F3x3
+ -DCFG_TUSB_MCU=OPT_MCU_STM32F3
ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F3xx_HAL_Driver
ST_CMSIS = hw/mcu/st/st_driver/CMSIS/Device/ST/STM32F3xx