diff options
Diffstat (limited to 'src/stm32/Kconfig')
-rw-r--r-- | src/stm32/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm32/Kconfig b/src/stm32/Kconfig index 201322b5..3651aa2f 100644 --- a/src/stm32/Kconfig +++ b/src/stm32/Kconfig @@ -94,6 +94,8 @@ config STACK_SIZE choice prompt "Bootloader offset" if MACH_STM32F407 || MACH_STM32F103 || MACH_STM32F070 + config STM32_FLASH_START_800 + bool "2KiB bootloader (HID Bootloader)" if MACH_STM32F103 config STM32_FLASH_START_2000 bool "8KiB bootloader (stm32duino)" if MACH_STM32F103 || MACH_STM32F070 config STM32_FLASH_START_7000 @@ -107,6 +109,7 @@ choice endchoice config FLASH_START hex + default 0x8000800 if STM32_FLASH_START_800 default 0x8002000 if STM32_FLASH_START_2000 default 0x8007000 if STM32_FLASH_START_7000 default 0x8008000 if STM32_FLASH_START_8000 |