Skip to content

Commit

Permalink
Fix STM32duino bootloader (#10648)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored Oct 15, 2020
1 parent af2c506 commit b0dbe73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ endif

ifeq ($(strip $(BOOTLOADER)), stm32duino)
OPT_DEFS += -DBOOTLOADER_STM32DUINO
MCU_LDSCRIPT ?= STM32F103x8_stm32duino_bootloader
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
Expand Down
4 changes: 1 addition & 3 deletions keyboards/wolfmarkclub/wm1/rules.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# MCU name
MCU = STM32F103

# Bootloader selection
BOOTLOADER = stm32duino

# GENERIC STM32F103C8T6 board - mass storage bootloader
MCU_LDSCRIPT = wm1_f103
BOARD = STM32_F103_STM32DUINO

PROGRAM_CMD = echo 'CLI flashing not supported' >&2

Expand Down

0 comments on commit b0dbe73

Please sign in to comment.