stm32: Add 36KiB bootloader offset option (#6449)

- This offset is used by Anycubic Kobra 2 Neo bootloader

Signed-off-by: Jakub Przystasz <jakub.przystasz@gmail.com>
This commit is contained in:
Jakub 2024-01-23 00:55:34 +01:00 committed by GitHub
parent daf875e6e4
commit f653db9c88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -285,6 +285,8 @@ choice
bool "34KiB bootloader (Chitu v6 Bootloader)" if MACH_STM32F103
config STM32_FLASH_START_20200
bool "128KiB bootloader with 512 byte offset (Prusa Buddy)" if MACH_STM32F4x5
config STM32_FLASH_START_9000
bool "36KiB bootloader (Anycubic Kobra 2 Neo)" if MACH_STM32F1
config STM32_FLASH_START_C000
bool "48KiB bootloader (MKS Robin Nano V3)" if MACH_STM32F4x5
config STM32_FLASH_START_10000
@ -312,6 +314,7 @@ config FLASH_APPLICATION_ADDRESS
default 0x8007000 if STM32_FLASH_START_7000
default 0x8008000 if STM32_FLASH_START_8000
default 0x8008800 if STM32_FLASH_START_8800
default 0x8009000 if STM32_FLASH_START_9000
default 0x800C000 if STM32_FLASH_START_C000
default 0x8010000 if STM32_FLASH_START_10000
default 0x8020000 if STM32_FLASH_START_20000