aboutsummaryrefslogtreecommitdiff
path: root/common_features.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common_features.mk')
-rw-r--r--common_features.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/common_features.mk b/common_features.mk
index ddb7112fd..2cd78ceb6 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -177,8 +177,14 @@ else
177 SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32.c 177 SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32.c
178 SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c 178 SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c
179 OPT_DEFS += -DEEPROM_EMU_STM32F072xB 179 OPT_DEFS += -DEEPROM_EMU_STM32F072xB
180 else ifneq ($(filter $(MCU_SERIES)_$(MCU_LDSCRIPT),STM32F4xx_STM32F401xC STM32F4xx_STM32F411xE),)
181 OPT_DEFS += -DEEPROM_DRIVER
182 COMMON_VPATH += $(DRIVER_PATH)/eeprom
183 SRC += eeprom_driver.c
184 SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32.c
185 SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c
186 OPT_DEFS += -DEEPROM_EMU_STM32F401xC
180 else ifeq ($(MCU_SERIES)_$(MCU_LDSCRIPT), STM32F0xx_STM32F042x6) 187 else ifeq ($(MCU_SERIES)_$(MCU_LDSCRIPT), STM32F0xx_STM32F042x6)
181
182 # Stack sizes: Since this chip has limited RAM capacity, the stack area needs to be reduced. 188 # Stack sizes: Since this chip has limited RAM capacity, the stack area needs to be reduced.
183 # This ensures that the EEPROM page buffer fits into RAM 189 # This ensures that the EEPROM page buffer fits into RAM
184 USE_PROCESS_STACKSIZE = 0x600 190 USE_PROCESS_STACKSIZE = 0x600