Skip to content

Commit

Permalink
Fix STM32duino bootloader (qmk#10648)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and drashna committed Jan 13, 2021
1 parent b6dbef7 commit 112cf40
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,14 @@ ifeq ($(strip $(BOOTLOADER)), kiibohd)
DFU_ARGS = -d 1C11:B007
DFU_SUFFIX_ARGS = -v 1C11 -p B007
endif

ifeq ($(strip $(BOOTLOADER)), stm32duino)
OPT_DEFS += -DBOOTLOADER_STM32DUINO
MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader
BOARD = STM32_F103_STM32DUINO
# STM32F103 does NOT have an USB bootloader in ROM (only serial), so setting anything here does not make much sense
STM32_BOOTLOADER_ADDRESS = 0x80000000

DFU_ARGS = -d 1EAF:0003 -a2 -R
DFU_SUFFIX_ARGS = -v 1EAF -p 0003
endif

0 comments on commit 112cf40

Please sign in to comment.