Skip to content

Commit

Permalink
Fix broken bootloader builds in develop. (qmk#15880)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskygit authored Jan 15, 2022
1 parent 77eae62 commit 08a42dc
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions keyboards/clueboard/60/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"debounce": 6,
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"features": {
"audio": true,
Expand Down
1 change: 1 addition & 0 deletions keyboards/clueboard/66/rev4/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"debounce": 5,
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"features": {
"audio": true,
Expand Down
1 change: 1 addition & 0 deletions keyboards/clueboard/66_hotswap/gen1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"debounce": 5,
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"features": {
"audio": true,
Expand Down
1 change: 1 addition & 0 deletions keyboards/clueboard/california/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"maintainer": "skullydazed",
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"matrix_pins": {
"direct": [
["A10", "A9"],
Expand Down
2 changes: 1 addition & 1 deletion keyboards/edi/hardlight/mk2/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MCU = STM32F072

# Bootloader selection
Bootloader = stm32-dfu
BOOTLOADER = stm32-dfu

# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
Expand Down
1 change: 1 addition & 0 deletions keyboards/ez_maker/directpins/proton_c/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"debounce": 5,
"processor": "STM32F303",
"board": "QMK_PROTON_C",
"bootloader": "stm32-dfu",
"features": {
"bootmagic": true,
"extrakey": true,
Expand Down
1 change: 1 addition & 0 deletions keyboards/forever65/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"manufacturer": "Nightingale Studios",
"maintainer": "zvecr",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["A3", "F1", "F0", "C15", "C14", "C13", "B11", "B10", "B2", "B1", "B0", "A7", "A5", "A6", "A4", "B5"],
Expand Down
3 changes: 3 additions & 0 deletions keyboards/mechlovin/mechlovin9/rev1/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/rgbkb/mun/rules.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# MCU name
MCU = STM32F303

# Bootloader selection
BOOTLOADER = stm32-dfu

# Touch encoder needs
SRC += ../common/touch_encoder.c
SRC += ../common/common_oled.c
Expand Down
4 changes: 4 additions & 0 deletions platforms/chibios/bootloaders/none.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@

#include "bootloader.h"

#pragma message "Unknown bootloader set, you may not be able to enter bootloader using software reset"

__attribute__((weak)) void bootloader_jump(void) {}

__attribute__((weak)) void enter_bootloader_mode_if_requested(void) {}

0 comments on commit 08a42dc

Please sign in to comment.