From 9820445b92396e20615eab15197a98adbcf418e8 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 16 May 2022 20:20:47 -0400 Subject: [PATCH] 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 --- src/stm32/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 95e9f43..49ffd54 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -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