stm32f1: Add support for entering the bootloader via USB
Add support for entering the "stm32duino" bootloader via the arduino 1200 baud USB request. Add supprot for flashing over USB via the "make flash" command. Rename the existing "make flash" command to "make serialflash". Default to using a bootloader in Kconfig. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -20,10 +20,10 @@ config CLOCK_FREQ
|
||||
|
||||
choice
|
||||
prompt "Bootloader offset"
|
||||
config STM_FLASH_START_0000
|
||||
bool "No bootloader"
|
||||
config STM_FLASH_START_2000
|
||||
bool "8KiB bootloader (stm32duino)"
|
||||
config STM_FLASH_START_0000
|
||||
bool "No bootloader"
|
||||
endchoice
|
||||
|
||||
config FLASH_START
|
||||
|
||||
Reference in New Issue
Block a user