diff options
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index 3e1e11ab32..52749e1d16 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -47,8 +47,8 @@ chip-$(CONFIG_WATCHDOG)+=watchdog.o chip-$(HAS_TASK_CONSOLE)+=uart.o chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o chip-$(HAS_TASK_POWERLED)+=power_led.o -chip-$(CONFIG_FLASH)+=flash-$(CHIP_FAMILY).o -ifdef CONFIG_FLASH +chip-$(CONFIG_FLASH_PHYSICAL)+=flash-$(CHIP_FAMILY).o +ifdef CONFIG_FLASH_PHYSICAL chip-$(CHIP_FAMILY_STM32F0)+=flash-f.o chip-$(CHIP_FAMILY_STM32F3)+=flash-f.o endif |