Add mmoskal/uf2-stm32f103 bootloader support (#19594)
This commit is contained in:
parent
a92071494a
commit
0730740add
13 changed files with 276 additions and 1 deletions
|
@ -275,7 +275,11 @@ ifneq ($(findstring STM32F103, $(MCU)),)
|
|||
# Linker script to use
|
||||
# - it should exist either in <chibios>/os/common/startup/ARMCMx/compilers/GCC/ld/
|
||||
# or <keyboard_dir>/ld/
|
||||
MCU_LDSCRIPT ?= STM32F103x8
|
||||
ifeq ($(strip $(BOOTLOADER)), uf2boot)
|
||||
MCU_LDSCRIPT ?= STM32F103xB_uf2boot
|
||||
else
|
||||
MCU_LDSCRIPT ?= STM32F103x8
|
||||
endif
|
||||
|
||||
# Startup code to use
|
||||
# - it should exist in <chibios>/os/common/startup/ARMCMx/compilers/GCC/mk/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue