summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurdea Andrei <andrei@purdea.ro>2023-05-15 15:29:25 +0300
committerGitHub <noreply@github.com>2023-05-15 22:29:25 +1000
commit96d3750483ba13755e9029d6ec78e8a411b63360 (patch)
tree3830cb5fe3bbc4235237777a50a1c88b9469da60
parent507e32b28c5067fb01cb85c3259a50bec7ec1907 (diff)
Fix EEPROM_DRIVER=legacy_stm32_flash (#20457)
-rw-r--r--builddefs/common_features.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 0880934e95..e742ab5072 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -213,10 +213,10 @@ else
SRC += eeprom_driver.c eeprom_spi.c
else ifeq ($(strip $(EEPROM_DRIVER)), legacy_stm32_flash)
# STM32 Emulated EEPROM, backed by MCU flash (soon to be deprecated)
- OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_STM32_FLASH_EMULATED
+ OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_LEGACY_EMULATED_FLASH
COMMON_VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)/flash
COMMON_VPATH += $(DRIVER_PATH)/flash
- SRC += eeprom_driver.c eeprom_stm32.c flash_stm32.c
+ SRC += eeprom_driver.c eeprom_legacy_emulated_flash.c legacy_flash_ops.c
else ifeq ($(strip $(EEPROM_DRIVER)), transient)
# Transient EEPROM implementation -- no data storage but provides runtime area for it
OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_TRANSIENT