summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Lee <joylee.lc@foxmail.com>2022-08-13 09:14:33 +0800
committerGitHub <noreply@github.com>2022-08-13 02:14:33 +0100
commit19ce1418badbf04b0b675c2e81a184e93b14141f (patch)
treebeea1b65a923563c119b9c5039f7951165ec48cd
parentaed82bc6a07ab72a3bec7b4b578b6cb644a92d51 (diff)
Added implementation of WB32 MCU wear_leveling_efl. (#17579)
-rw-r--r--platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h2
1 files changed, 2 insertions, 0 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 9e38c2965d..244c87cb7f 100644
--- a/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h
+++ b/platforms/chibios/drivers/wear_leveling/wear_leveling_efl_config.h
@@ -14,6 +14,8 @@
# define BACKING_STORE_WRITE_SIZE 2 // from hal_efl_lld.c
# elif defined(QMK_MCU_FAMILY_NUC123)
# define BACKING_STORE_WRITE_SIZE 4 // from hal_efl_lld.c
+# elif defined(QMK_MCU_FAMILY_WB32)
+# define BACKING_STORE_WRITE_SIZE 8 // from hal_efl_lld.c
# elif defined(QMK_MCU_FAMILY_STM32)
# if defined(STM32_FLASH_LINE_SIZE) // from some family's stm32_registry.h file
# define BACKING_STORE_WRITE_SIZE (STM32_FLASH_LINE_SIZE)