summaryrefslogtreecommitdiffstats
path: root/builddefs
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-12-15 07:27:00 +1100
committerGitHub <noreply@github.com>2022-12-15 07:27:00 +1100
commite67e690cf3d7bc3fa68f6b014646eb4d0e09acec (patch)
tree8761277ad4d9a8a06c3945f97a677d234c0f9807 /builddefs
parent11308345135952db9767d1bd770cd1e25609d4ee (diff)
Revert to legacy wear-leveling driver by default for F401. (#19328)
Diffstat (limited to 'builddefs')
-rw-r--r--builddefs/mcu_selection.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/builddefs/mcu_selection.mk b/builddefs/mcu_selection.mk
index de919bd263..382d9571a4 100644
--- a/builddefs/mcu_selection.mk
+++ b/builddefs/mcu_selection.mk
@@ -367,6 +367,10 @@ ifneq ($(findstring STM32F401, $(MCU)),)
# Bootloader address for STM32 DFU
STM32_BOOTLOADER_ADDRESS ?= 0x1FFF0000
+
+ # Revert to legacy wear-leveling driver until ChibiOS's EFL driver is fixed with 128kB and 384kB variants.
+ EEPROM_DRIVER ?= wear_leveling
+ WEAR_LEVELING_DRIVER ?= legacy
endif
ifneq ($(findstring STM32F405, $(MCU)),)