summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-11-12 10:57:44 +1100
committerGitHub <noreply@github.com>2022-11-11 23:57:44 +0000
commit092228571c40a31d88940055b4d2fa749f135314 (patch)
treee3cf8605a284ef7448f43a6f636c17271b4b8cd3 /platforms
parent8c6d2946f7187ecc8ad53afa8f2365b352524459 (diff)
Move EFL wear-leveling driver to be default for F1, F3, F4, L4, G4, WB32, GD32V. (#19020)
Diffstat (limited to 'platforms')
-rw-r--r--platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h b/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h
index 244c87cb7f..e74cf85efd 100644
--- a/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h
+++ b/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h
@@ -20,7 +20,9 @@
# if defined(STM32_FLASH_LINE_SIZE) // from some family's stm32_registry.h file
# define BACKING_STORE_WRITE_SIZE (STM32_FLASH_LINE_SIZE)
# else
-# if defined(QMK_MCU_SERIES_STM32F1XX)
+# if defined(QMK_MCU_SERIES_STM32F0XX)
+# define BACKING_STORE_WRITE_SIZE 2 // from hal_efl_lld.c
+# elif defined(QMK_MCU_SERIES_STM32F1XX)
# define BACKING_STORE_WRITE_SIZE 2 // from hal_efl_lld.c
# elif defined(QMK_MCU_SERIES_STM32F3XX)
# define BACKING_STORE_WRITE_SIZE 2 // from hal_efl_lld.c