From e67e690cf3d7bc3fa68f6b014646eb4d0e09acec Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Thu, 15 Dec 2022 07:27:00 +1100 Subject: [PATCH] Revert to legacy wear-leveling driver by default for F401. (#19328) --- builddefs/mcu_selection.mk | 4 ++++ 1 file changed, 4 insertions(+) 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)),)