summaryrefslogtreecommitdiff
path: root/builddefs
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-12-02 21:55:28 +1100
committerGitHub <noreply@github.com>2022-12-02 21:55:28 +1100
commitcf3c26533cadf4e6739dbc9117caad01df2fa5e3 (patch)
tree8bd4f7151edcc67e0bba16f1fcdbf83cbaf172b6 /builddefs
parentf98a7e8ffecdf4904879d8d3c0cc3307aa6f9966 (diff)
Fixup EFL and F4's sector selection. (#19221)
Diffstat (limited to 'builddefs')
-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 63814bbfae..d9130b5338 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -230,7 +230,7 @@ else
# Wear-leveling EEPROM implementation, backed by MCU flash
OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_WEAR_LEVELING
SRC += eeprom_driver.c eeprom_wear_leveling.c
- WEAR_LEVELING_DRIVER = embedded_flash
+ WEAR_LEVELING_DRIVER ?= embedded_flash
else ifneq ($(filter $(MCU_SERIES),STM32L0xx STM32L1xx),)
# True EEPROM on STM32L0xx, L1xx
OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_STM32_L0_L1
@@ -239,7 +239,7 @@ else
# Wear-leveling EEPROM implementation, backed by RP2040 flash
OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_WEAR_LEVELING
SRC += eeprom_driver.c eeprom_wear_leveling.c
- WEAR_LEVELING_DRIVER = rp2040_flash
+ WEAR_LEVELING_DRIVER ?= rp2040_flash
else ifneq ($(filter $(MCU_SERIES),KL2x K20x),)
# Teensy EEPROM implementations
OPT_DEFS += -DEEPROM_KINETIS_FLEXRAM