summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f3
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-04-24 22:11:08 +0700
committerhathach <[email protected]>2024-04-24 22:11:08 +0700
commiteab42d90d42234997ea55c01b1a510c9bb6434aa (patch)
tree361c1a6e6a4a7dd199fc006d2f3dd7fa36b9837d /hw/bsp/stm32f3
parenta7bf0e3e7f7799c28e370826710810033c117744 (diff)
update clang make build for stm32: f0 f1 f2 f3 f4 f7 h7 g0 g4 l0 l4 samd21 samd51 nrf
Diffstat (limited to 'hw/bsp/stm32f3')
-rw-r--r--hw/bsp/stm32f3/family.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/bsp/stm32f3/family.mk b/hw/bsp/stm32f3/family.mk
index be8271d96..4fe3aa99d 100644
--- a/hw/bsp/stm32f3/family.mk
+++ b/hw/bsp/stm32f3/family.mk
@@ -13,13 +13,14 @@ CPU_CORE ?= cortex-m4
CFLAGS += \
-flto \
- -nostdlib -nostartfiles \
-DCFG_TUSB_MCU=OPT_MCU_STM32F3
# mcu driver cause following warnings
CFLAGS += -Wno-error=unused-parameter
-LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
+LDFLAGS_GCC += \
+ -nostdlib -nostartfiles \
+ --specs=nosys.specs --specs=nano.specs
SRC_C += \
src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c \