mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
stm32: Support 16KiB application start on stm32f4
The default remains 32KiB, but a smaller size bootloader may be useful for testing. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9820445b92
commit
3d924f52ec
@ -343,15 +343,20 @@ config CANBUS_FREQUENCY
|
||||
|
||||
choice
|
||||
prompt "Application start offset"
|
||||
depends on MACH_STM32F0 || MACH_STM32F1
|
||||
config STM32_APP_START_8000
|
||||
bool "32KiB offset" if MACH_STM32F4
|
||||
config STM32_APP_START_4000
|
||||
bool "16KiB offset" if MACH_STM32F4
|
||||
config STM32_APP_START_2000
|
||||
bool "8KiB offset"
|
||||
bool "8KiB offset" if MACH_STM32F0 || MACH_STM32F1
|
||||
config STM32_APP_START_1000
|
||||
bool "4KiB offset"
|
||||
bool "4KiB offset" if MACH_STM32F0 || MACH_STM32F1
|
||||
endchoice
|
||||
|
||||
config APPLICATION_START
|
||||
hex
|
||||
default 0x8008000 if STM32_APP_START_8000
|
||||
default 0x8004000 if STM32_APP_START_4000
|
||||
default 0x8002000 if STM32_APP_START_2000
|
||||
default 0x8001000 if STM32_APP_START_1000
|
||||
default 0x8008000
|
||||
|
Loading…
x
Reference in New Issue
Block a user