stm32: Default to 8KiB application start on stm32f0 and stm32f1

Using 8KiB is a better default for most users.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-05-16 20:20:47 -04:00 committed by Eric Callahan
parent 6db366dc3f
commit 9820445b92

View File

@ -344,16 +344,16 @@ config CANBUS_FREQUENCY
choice
prompt "Application start offset"
depends on MACH_STM32F0 || MACH_STM32F1
config STM32_APP_START_1000
bool "4KiB offset"
config STM32_APP_START_2000
bool "8KiB offset"
config STM32_APP_START_1000
bool "4KiB offset"
endchoice
config APPLICATION_START
hex
default 0x8001000 if STM32_APP_START_1000
default 0x8002000 if STM32_APP_START_2000
default 0x8001000 if STM32_APP_START_1000
default 0x8008000
config BLOCK_SIZE