Skip to content

Commit

Permalink
Set BOOTLOADER = stm32-dfu for all applicable STM32 boards (qmk#12956)
Browse files Browse the repository at this point in the history
* Set bootloader to stm32-dfu for STM32F303

* Set bootloader to stm32-dfu for STM32F0x2

* Set bootloader to stm32-dfu for STM32F4x1

* Set bootloader to stm32duino for sowbug

* Delete redundant bootloader_defs headers

* Add some missing MCU name comments

* Move APM32 dfu-suffix overrides underneath bootloader

* Remove redundant STM32_BOOTLOADER_ADDRESS defines/rules
  • Loading branch information
fauxpark authored Jun 8, 2021
1 parent e0acd3e commit 9dcd03b
Show file tree
Hide file tree
Showing 178 changed files with 556 additions and 209 deletions.
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C

# Bootloader selection
BOOTLOADER = stm32-dfu

## Features
CONSOLE_ENABLE = yes
ENCODER_ENABLE = yes
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/arctic/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/austin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/keebspcb/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/lasgweloth/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/acheron/shark/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/aeboards/ext65/rev2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/ai03/andromeda/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/ai03/vega/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
4 changes: 3 additions & 1 deletion keyboards/akegata_denki/device_one/rules.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# MCU name
MCU = STM32F042

BOARD = ST_NUCLEO32_F042K6

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/alpine65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/at_at/660m/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
MCU = STM32F072
BOARD = GENERIC_STM32_F072XB

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
5 changes: 4 additions & 1 deletion keyboards/atreus/keymaps/ridingqwerty/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# MCU name
MCU = STM32F303
BOARD = QMK_PROTON_C

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand All @@ -16,4 +20,3 @@ RGBLIGHT_ENABLE = no
TAP_DANCE_ENABLE = no
UNICODE_ENABLE = no
UNICODEMAP_ENABLE = yes

3 changes: 3 additions & 0 deletions keyboards/boston/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/boston_meetup/2019/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
3 changes: 3 additions & 0 deletions keyboards/box75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
5 changes: 4 additions & 1 deletion keyboards/c39/keymaps/drashna/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F303
BOARD = QMK_PROTON_C
BOOTLOADER =

# Bootloader selection
BOOTLOADER = stm32-dfu

BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
Expand Down
3 changes: 3 additions & 0 deletions keyboards/caffeinated/serpent65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# change yes to no to disable
#
Expand Down
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/an_c/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# comment out to disable the options.
#
Expand All @@ -20,8 +26,5 @@ WS2812_DRIVER = spi

LAYOUTS = 60_ansi 60_tsangan_hhkb

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
3 changes: 3 additions & 0 deletions keyboards/cannonkeys/atlas/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU Name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
Expand Down
3 changes: 3 additions & 0 deletions keyboards/cannonkeys/chimera65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/db60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# comment out to disable the options.
#
Expand All @@ -15,9 +21,6 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

DEFAULT_FOLDER = cannonkeys/db60/rev2

# Enter lower-power sleep mode when on the ChibiOS idle thread
Expand Down
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/devastatingtkl/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# comment out to disable the options.
#
Expand All @@ -16,8 +22,5 @@ BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/instant60/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# comment out to disable the options.
#
Expand All @@ -19,8 +25,5 @@ WS2812_DRIVER = spi

LAYOUTS = 60_ansi 60_tsangan_hhkb

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/instant65/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# change yes to no to disable
#
Expand All @@ -21,6 +27,3 @@ WS2812_DRIVER = spi

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF
3 changes: 3 additions & 0 deletions keyboards/cannonkeys/iron165/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Build Options
# comment out to disable the options.
#
Expand Down
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/obliterated75/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# change yes to no to disable
#
Expand All @@ -18,8 +24,5 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
WS2812_DRIVER = spi

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/onyx/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# change yes to no to disable
#
Expand All @@ -18,8 +24,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
9 changes: 6 additions & 3 deletions keyboards/cannonkeys/rekt1800/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# MCU name
MCU = STM32F072

# Bootloader selection
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF

# Build Options
# comment out to disable the options.
#
Expand All @@ -15,8 +21,5 @@ CUSTOM_MATRIX = no # Custom matrix file
BACKLIGHT_ENABLE = yes
RGBLIGHT_ENABLE = no

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -p FFFF -v FFFF

# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
Loading

0 comments on commit 9dcd03b

Please sign in to comment.