diff options
author | Drashna Jaelre <drashna@live.com> | 2024-11-21 03:54:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 22:54:01 +1100 |
commit | c7a04bd9305c337e9190d5ebdd368c4af49adc43 (patch) | |
tree | 504cb053ae288fa12df626aebfec642b3ace6518 /platforms/chibios/boards/GENERIC_STM32_F407XE | |
parent | 36b5559b997cedd14a352aa70891558936b8b3a3 (diff) | |
download | qmk_firmware-c7a04bd9305c337e9190d5ebdd368c4af49adc43.tar.gz qmk_firmware-c7a04bd9305c337e9190d5ebdd368c4af49adc43.zip |
Bring supported STM32F4 configs in line with F4x1 (#24413)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'platforms/chibios/boards/GENERIC_STM32_F407XE')
-rw-r--r-- | platforms/chibios/boards/GENERIC_STM32_F407XE/configs/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/config.h index 90a41326a1..5333a919a0 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/config.h +++ b/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/config.h @@ -21,3 +21,13 @@ #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP # define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #endif + +#ifdef WEAR_LEVELING_EMBEDDED_FLASH +# ifndef WEAR_LEVELING_EFL_FIRST_SECTOR +# ifdef BOOTLOADER_TINYUF2 +# define WEAR_LEVELING_EFL_FIRST_SECTOR 3 +# else +# define WEAR_LEVELING_EFL_FIRST_SECTOR 1 +# endif +# endif +#endif |