From 338bc82d0bcfb9be7655ca6c54791def0cd999d7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 20 May 2021 19:12:09 -0400 Subject: [PATCH] stm32: Allow 32KiB bootloader on stm32f446 Useful on the Octopus board. Reported by @bigtreetech. 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 04dce2f1..85c46373 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -138,17 +138,17 @@ choice bool "20KiB bootloader" if MACH_STM32F103 config STM32_FLASH_START_7000 bool "28KiB bootloader" if MACH_STM32F103 + config STM32_FLASH_START_8000 + bool "32KiB bootloader" if MACH_STM32F207 || MACH_STM32F407 || MACH_STM32F446 config STM32_FLASH_START_8800 bool "34KiB bootloader (Chitu v6 Bootloader)" if MACH_STM32F103 config STM32_FLASH_START_C000 bool "48KiB bootloader (MKS Robin Nano V3)" if MACH_STM32F407 config STM32_FLASH_START_10000 bool "64KiB bootloader" if MACH_STM32F103 || MACH_STM32F446 + config STM32_FLASH_START_800 bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103 - - config STM32_FLASH_START_8000 - bool "32KiB bootloader (SKR-PRO or TFT35-V3.0)" if MACH_STM32F207 || MACH_STM32F407 config STM32_FLASH_START_4000 bool "16KiB bootloader (HID Bootloader)" if MACH_STM32F207 || MACH_STM32F405 || MACH_STM32F407