diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-10-04 10:14:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-10-11 10:50:51 -0400 |
commit | 75fa74313c178034b80f7c1e3ad0a7b55c34a3d6 (patch) | |
tree | e161e1440dbe8de4a248a75a00457a238743c5a6 /src/stm32f1/Kconfig | |
parent | 215b4c5a1ef9faf261fea0989051f7dc540a74df (diff) | |
download | kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.tar.gz kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.tar.xz kutter-75fa74313c178034b80f7c1e3ad0a7b55c34a3d6.zip |
stm32f1: Add support for building with bootloader support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f1/Kconfig')
-rw-r--r-- | src/stm32f1/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stm32f1/Kconfig b/src/stm32f1/Kconfig index 81e03bf1..802c793a 100644 --- a/src/stm32f1/Kconfig +++ b/src/stm32f1/Kconfig @@ -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 |