stm32f1: Add support for building with bootloader support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -18,6 +18,19 @@ config CLOCK_FREQ
|
||||
int
|
||||
default 8000000 # 72000000 / 9
|
||||
|
||||
choice
|
||||
prompt "Bootloader offset"
|
||||
config STM_FLASH_START_0000
|
||||
bool "No bootloader"
|
||||
config STM_FLASH_START_2000
|
||||
bool "8KiB bootloader (stm32duino)"
|
||||
endchoice
|
||||
|
||||
config FLASH_START
|
||||
hex
|
||||
default 0x2000 if STM_FLASH_START_2000
|
||||
default 0x0000
|
||||
|
||||
config USBSERIAL
|
||||
bool "Use USB for communication (instead of serial)"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user