diff options
author | Ryan <fauxpark@gmail.com> | 2021-06-08 19:48:46 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 19:48:46 +1000 |
commit | 9dcd03b6ca512126231478131796c093d237067f (patch) | |
tree | f986f6778e3405f13246de79119275e34e64c8d5 | |
parent | e0acd3e53dbefe31cec5cc9eef048fd0649d1d1d (diff) | |
download | qmk_firmware-9dcd03b6ca512126231478131796c093d237067f.tar.gz qmk_firmware-9dcd03b6ca512126231478131796c093d237067f.zip |
Set `BOOTLOADER = stm32-dfu` for all applicable STM32 boards (#12956)
* 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
178 files changed, 556 insertions, 209 deletions
diff --git a/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk b/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk index 6fb15f5a8..fcfa05c3a 100644 --- a/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk +++ b/keyboards/1upkeyboards/sweet16/v2/proton_c/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | ## Features | 8 | ## Features |
6 | CONSOLE_ENABLE = yes | 9 | CONSOLE_ENABLE = yes |
7 | ENCODER_ENABLE = yes | 10 | ENCODER_ENABLE = yes |
diff --git a/keyboards/acheron/arctic/rules.mk b/keyboards/acheron/arctic/rules.mk index 4a6aa0a4a..b38cf0001 100644 --- a/keyboards/acheron/arctic/rules.mk +++ b/keyboards/acheron/arctic/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/acheron/austin/rules.mk b/keyboards/acheron/austin/rules.mk index b73c2cf7c..57fb9cbb3 100644 --- a/keyboards/acheron/austin/rules.mk +++ b/keyboards/acheron/austin/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/acheron/keebspcb/rules.mk b/keyboards/acheron/keebspcb/rules.mk index 849a137cd..7a166e84f 100644 --- a/keyboards/acheron/keebspcb/rules.mk +++ b/keyboards/acheron/keebspcb/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/acheron/lasgweloth/rules.mk b/keyboards/acheron/lasgweloth/rules.mk index 56b91b692..fb7e49515 100644 --- a/keyboards/acheron/lasgweloth/rules.mk +++ b/keyboards/acheron/lasgweloth/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/acheron/shark/rules.mk b/keyboards/acheron/shark/rules.mk index 94accbd8f..455c98f7e 100644 --- a/keyboards/acheron/shark/rules.mk +++ b/keyboards/acheron/shark/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/aeboards/ext65/rev2/rules.mk b/keyboards/aeboards/ext65/rev2/rules.mk index 78d1e586a..8794d357c 100644 --- a/keyboards/aeboards/ext65/rev2/rules.mk +++ b/keyboards/aeboards/ext65/rev2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/ai03/andromeda/rules.mk b/keyboards/ai03/andromeda/rules.mk index b5330c8e7..b47c99696 100644 --- a/keyboards/ai03/andromeda/rules.mk +++ b/keyboards/ai03/andromeda/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/ai03/vega/rules.mk b/keyboards/ai03/vega/rules.mk index b5330c8e7..b47c99696 100644 --- a/keyboards/ai03/vega/rules.mk +++ b/keyboards/ai03/vega/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/akegata_denki/device_one/rules.mk b/keyboards/akegata_denki/device_one/rules.mk index f8e76a5d3..383269654 100644 --- a/keyboards/akegata_denki/device_one/rules.mk +++ b/keyboards/akegata_denki/device_one/rules.mk | |||
@@ -1,8 +1,10 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | |||
4 | BOARD = ST_NUCLEO32_F042K6 | 3 | BOARD = ST_NUCLEO32_F042K6 |
5 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
6 | # Build Options | 8 | # Build Options |
7 | # comment out to disable the options. | 9 | # comment out to disable the options. |
8 | # | 10 | # |
diff --git a/keyboards/alpine65/rules.mk b/keyboards/alpine65/rules.mk index 4f9422096..61f925301 100644 --- a/keyboards/alpine65/rules.mk +++ b/keyboards/alpine65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/at_at/660m/rules.mk b/keyboards/at_at/660m/rules.mk index a272f6d34..f0465ceb2 100644 --- a/keyboards/at_at/660m/rules.mk +++ b/keyboards/at_at/660m/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | BOARD = GENERIC_STM32_F072XB | 3 | BOARD = GENERIC_STM32_F072XB |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/atreus/keymaps/ridingqwerty/rules.mk b/keyboards/atreus/keymaps/ridingqwerty/rules.mk index ebf83f02e..a41ef5f10 100644 --- a/keyboards/atreus/keymaps/ridingqwerty/rules.mk +++ b/keyboards/atreus/keymaps/ridingqwerty/rules.mk | |||
@@ -1,6 +1,10 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F303 | 2 | MCU = STM32F303 |
2 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
3 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
4 | # Build Options | 8 | # Build Options |
5 | # comment out to disable the options. | 9 | # comment out to disable the options. |
6 | # | 10 | # |
@@ -16,4 +20,3 @@ RGBLIGHT_ENABLE = no | |||
16 | TAP_DANCE_ENABLE = no | 20 | TAP_DANCE_ENABLE = no |
17 | UNICODE_ENABLE = no | 21 | UNICODE_ENABLE = no |
18 | UNICODEMAP_ENABLE = yes | 22 | UNICODEMAP_ENABLE = yes |
19 | |||
diff --git a/keyboards/boston/rules.mk b/keyboards/boston/rules.mk index e7bc2db59..24e1dbe3c 100644 --- a/keyboards/boston/rules.mk +++ b/keyboards/boston/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/boston_meetup/2019/rules.mk b/keyboards/boston_meetup/2019/rules.mk index 5aaac4b3e..aa1920ae5 100644 --- a/keyboards/boston_meetup/2019/rules.mk +++ b/keyboards/boston_meetup/2019/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/box75/rules.mk b/keyboards/box75/rules.mk index a202eca61..f444528f1 100644 --- a/keyboards/box75/rules.mk +++ b/keyboards/box75/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/c39/keymaps/drashna/rules.mk b/keyboards/c39/keymaps/drashna/rules.mk index 09c29f0e8..a11acc240 100644 --- a/keyboards/c39/keymaps/drashna/rules.mk +++ b/keyboards/c39/keymaps/drashna/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F303 | 2 | MCU = STM32F303 |
2 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
3 | BOOTLOADER = | 4 | |
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
4 | 7 | ||
5 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | 8 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) |
6 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 9 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
diff --git a/keyboards/caffeinated/serpent65/rules.mk b/keyboards/caffeinated/serpent65/rules.mk index ce2a3f75e..612d7e4cc 100644 --- a/keyboards/caffeinated/serpent65/rules.mk +++ b/keyboards/caffeinated/serpent65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/cannonkeys/an_c/rules.mk b/keyboards/cannonkeys/an_c/rules.mk index 7309744d1..55e03edea 100644 --- a/keyboards/cannonkeys/an_c/rules.mk +++ b/keyboards/cannonkeys/an_c/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -20,8 +26,5 @@ WS2812_DRIVER = spi | |||
20 | 26 | ||
21 | LAYOUTS = 60_ansi 60_tsangan_hhkb | 27 | LAYOUTS = 60_ansi 60_tsangan_hhkb |
22 | 28 | ||
23 | # Wildcard to allow APM32 MCU | ||
24 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
25 | |||
26 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 29 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
27 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 30 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/atlas/rules.mk b/keyboards/cannonkeys/atlas/rules.mk index 8037597b5..0f13950c6 100644 --- a/keyboards/cannonkeys/atlas/rules.mk +++ b/keyboards/cannonkeys/atlas/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU Name | 1 | # MCU Name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 9 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
diff --git a/keyboards/cannonkeys/chimera65/rules.mk b/keyboards/cannonkeys/chimera65/rules.mk index a08f2fa49..7d2cc67f4 100644 --- a/keyboards/cannonkeys/chimera65/rules.mk +++ b/keyboards/cannonkeys/chimera65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/cannonkeys/db60/rules.mk b/keyboards/cannonkeys/db60/rules.mk index 3221f8a4b..d7157ce76 100644 --- a/keyboards/cannonkeys/db60/rules.mk +++ b/keyboards/cannonkeys/db60/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -15,9 +21,6 @@ BACKLIGHT_ENABLE = yes | |||
15 | RGBLIGHT_ENABLE = yes | 21 | RGBLIGHT_ENABLE = yes |
16 | WS2812_DRIVER = spi | 22 | WS2812_DRIVER = spi |
17 | 23 | ||
18 | # Wildcard to allow APM32 MCU | ||
19 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
20 | |||
21 | DEFAULT_FOLDER = cannonkeys/db60/rev2 | 24 | DEFAULT_FOLDER = cannonkeys/db60/rev2 |
22 | 25 | ||
23 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 26 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
diff --git a/keyboards/cannonkeys/devastatingtkl/rules.mk b/keyboards/cannonkeys/devastatingtkl/rules.mk index 4ce69bf4a..3a17bc4bd 100644 --- a/keyboards/cannonkeys/devastatingtkl/rules.mk +++ b/keyboards/cannonkeys/devastatingtkl/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -16,8 +22,5 @@ BACKLIGHT_ENABLE = yes | |||
16 | RGBLIGHT_ENABLE = yes | 22 | RGBLIGHT_ENABLE = yes |
17 | WS2812_DRIVER = spi | 23 | WS2812_DRIVER = spi |
18 | 24 | ||
19 | # Wildcard to allow APM32 MCU | ||
20 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
21 | |||
22 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 25 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
23 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 26 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/instant60/rules.mk b/keyboards/cannonkeys/instant60/rules.mk index e5ba2903b..81ee89594 100644 --- a/keyboards/cannonkeys/instant60/rules.mk +++ b/keyboards/cannonkeys/instant60/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -19,8 +25,5 @@ WS2812_DRIVER = spi | |||
19 | 25 | ||
20 | LAYOUTS = 60_ansi 60_tsangan_hhkb | 26 | LAYOUTS = 60_ansi 60_tsangan_hhkb |
21 | 27 | ||
22 | # Wildcard to allow APM32 MCU | ||
23 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
24 | |||
25 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 28 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
26 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 29 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/instant65/rules.mk b/keyboards/cannonkeys/instant65/rules.mk index eba941f89..a930d7025 100644 --- a/keyboards/cannonkeys/instant65/rules.mk +++ b/keyboards/cannonkeys/instant65/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # change yes to no to disable | 11 | # change yes to no to disable |
6 | # | 12 | # |
@@ -21,6 +27,3 @@ WS2812_DRIVER = spi | |||
21 | 27 | ||
22 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 28 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
23 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 29 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
24 | |||
25 | # Wildcard to allow APM32 MCU | ||
26 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
diff --git a/keyboards/cannonkeys/iron165/rules.mk b/keyboards/cannonkeys/iron165/rules.mk index 9de75a614..f42acaafe 100644 --- a/keyboards/cannonkeys/iron165/rules.mk +++ b/keyboards/cannonkeys/iron165/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/cannonkeys/obliterated75/rules.mk b/keyboards/cannonkeys/obliterated75/rules.mk index 3ff3bb919..5dd12f03c 100644 --- a/keyboards/cannonkeys/obliterated75/rules.mk +++ b/keyboards/cannonkeys/obliterated75/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # change yes to no to disable | 11 | # change yes to no to disable |
6 | # | 12 | # |
@@ -18,8 +24,5 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
18 | AUDIO_ENABLE = no # Audio output on port C6 | 24 | AUDIO_ENABLE = no # Audio output on port C6 |
19 | WS2812_DRIVER = spi | 25 | WS2812_DRIVER = spi |
20 | 26 | ||
21 | # Wildcard to allow APM32 MCU | ||
22 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
23 | |||
24 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 27 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
25 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 28 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/onyx/rules.mk b/keyboards/cannonkeys/onyx/rules.mk index 50235c6e1..f48fd0fa1 100644 --- a/keyboards/cannonkeys/onyx/rules.mk +++ b/keyboards/cannonkeys/onyx/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # change yes to no to disable | 11 | # change yes to no to disable |
6 | # | 12 | # |
@@ -18,8 +24,5 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
18 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 24 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
19 | AUDIO_ENABLE = no # Audio output | 25 | AUDIO_ENABLE = no # Audio output |
20 | 26 | ||
21 | # Wildcard to allow APM32 MCU | ||
22 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
23 | |||
24 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 27 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
25 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 28 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/rekt1800/rules.mk b/keyboards/cannonkeys/rekt1800/rules.mk index c4f07f544..0f3d34ea5 100644 --- a/keyboards/cannonkeys/rekt1800/rules.mk +++ b/keyboards/cannonkeys/rekt1800/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -15,8 +21,5 @@ CUSTOM_MATRIX = no # Custom matrix file | |||
15 | BACKLIGHT_ENABLE = yes | 21 | BACKLIGHT_ENABLE = yes |
16 | RGBLIGHT_ENABLE = no | 22 | RGBLIGHT_ENABLE = no |
17 | 23 | ||
18 | # Wildcard to allow APM32 MCU | ||
19 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
20 | |||
21 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 24 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
22 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 25 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/sagittarius/rules.mk b/keyboards/cannonkeys/sagittarius/rules.mk index 62d0ab63d..968520203 100644 --- a/keyboards/cannonkeys/sagittarius/rules.mk +++ b/keyboards/cannonkeys/sagittarius/rules.mk | |||
@@ -1,8 +1,11 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Wildcard to allow APM32 MCU | 7 | # Wildcard to allow APM32 MCU |
5 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | 8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF |
6 | 9 | ||
7 | # Build Options | 10 | # Build Options |
8 | # change yes to no to disable | 11 | # change yes to no to disable |
diff --git a/keyboards/cannonkeys/satisfaction75/bootloader_defs.h b/keyboards/cannonkeys/satisfaction75/bootloader_defs.h deleted file mode 100644 index dccd0fa5d..000000000 --- a/keyboards/cannonkeys/satisfaction75/bootloader_defs.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | ||
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | ||
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
4 | */ | ||
5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC800 | ||
diff --git a/keyboards/cannonkeys/satisfaction75/rules.mk b/keyboards/cannonkeys/satisfaction75/rules.mk index 3861b4849..174f20c0e 100644 --- a/keyboards/cannonkeys/satisfaction75/rules.mk +++ b/keyboards/cannonkeys/satisfaction75/rules.mk | |||
@@ -2,6 +2,12 @@ | |||
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | BOARD = GENERIC_STM32_F072XB | 3 | BOARD = GENERIC_STM32_F072XB |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
8 | # Wildcard to allow APM32 MCU | ||
9 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
10 | |||
5 | # Build Options | 11 | # Build Options |
6 | # comment out to disable the options. | 12 | # comment out to disable the options. |
7 | # | 13 | # |
@@ -25,8 +31,5 @@ QWIIC_DRIVERS += MICRO_OLED | |||
25 | 31 | ||
26 | DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1 | 32 | DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1 |
27 | 33 | ||
28 | # Wildcard to allow APM32 MCU | ||
29 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
30 | |||
31 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 34 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
32 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 35 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/cannonkeys/savage65/rules.mk b/keyboards/cannonkeys/savage65/rules.mk index 2454573d2..094dcf3ce 100644 --- a/keyboards/cannonkeys/savage65/rules.mk +++ b/keyboards/cannonkeys/savage65/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -21,7 +27,4 @@ WS2812_DRIVER = spi | |||
21 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 27 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
22 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 28 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
23 | 29 | ||
24 | # Wildcard to allow APM32 MCU | ||
25 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
26 | |||
27 | LAYOUTS = 65_ansi_blocker 65_ansi_blocker_split_bs 65_ansi_blocker_tsangan 65_iso_blocker | 30 | LAYOUTS = 65_ansi_blocker 65_ansi_blocker_split_bs 65_ansi_blocker_tsangan 65_iso_blocker |
diff --git a/keyboards/cannonkeys/tmov2/rules.mk b/keyboards/cannonkeys/tmov2/rules.mk index 294c873ee..f1e48a6b7 100644 --- a/keyboards/cannonkeys/tmov2/rules.mk +++ b/keyboards/cannonkeys/tmov2/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -20,6 +26,3 @@ WS2812_DRIVER = spi | |||
20 | 26 | ||
21 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 27 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
22 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 28 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
23 | |||
24 | # Wildcard to allow APM32 MCU | ||
25 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
diff --git a/keyboards/cannonkeys/tsukuyomi/rules.mk b/keyboards/cannonkeys/tsukuyomi/rules.mk index 4e7791a79..a930d7025 100644 --- a/keyboards/cannonkeys/tsukuyomi/rules.mk +++ b/keyboards/cannonkeys/tsukuyomi/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # change yes to no to disable | 11 | # change yes to no to disable |
6 | # | 12 | # |
@@ -19,8 +25,5 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
19 | AUDIO_ENABLE = no # Audio output | 25 | AUDIO_ENABLE = no # Audio output |
20 | WS2812_DRIVER = spi | 26 | WS2812_DRIVER = spi |
21 | 27 | ||
22 | # Wildcard to allow APM32 MCU | ||
23 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF | ||
24 | |||
25 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 28 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
26 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 29 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/carbo65/rules.mk b/keyboards/carbo65/rules.mk index 51aaf0e36..6a7c2ca63 100644 --- a/keyboards/carbo65/rules.mk +++ b/keyboards/carbo65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Do not put the microcontroller into power saving mode | 7 | # Do not put the microcontroller into power saving mode |
5 | # when we get USB suspend event. We want it to keep updating | 8 | # when we get USB suspend event. We want it to keep updating |
6 | # backlight effects. | 9 | # backlight effects. |
diff --git a/keyboards/charue/sunsetter/rules.mk b/keyboards/charue/sunsetter/rules.mk index 85952f1a9..dde961d7a 100644 --- a/keyboards/charue/sunsetter/rules.mk +++ b/keyboards/charue/sunsetter/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/chavdai40/rev1/rules.mk b/keyboards/chavdai40/rev1/rules.mk index 64c6f662a..379bdb6c6 100644 --- a/keyboards/chavdai40/rev1/rules.mk +++ b/keyboards/chavdai40/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 9 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
@@ -15,4 +18,4 @@ NKRO_ENABLE = no # USB Nkey Rollover | |||
15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 18 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
16 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 19 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
17 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 20 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
18 | AUDIO_ENABLE = no # Audio output \ No newline at end of file | 21 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/chavdai40/rev2/rules.mk b/keyboards/chavdai40/rev2/rules.mk index 64c6f662a..379bdb6c6 100644 --- a/keyboards/chavdai40/rev2/rules.mk +++ b/keyboards/chavdai40/rev2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 9 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
@@ -15,4 +18,4 @@ NKRO_ENABLE = no # USB Nkey Rollover | |||
15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 18 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
16 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 19 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
17 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 20 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
18 | AUDIO_ENABLE = no # Audio output \ No newline at end of file | 21 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/cheshire/curiosity/rules.mk b/keyboards/cheshire/curiosity/rules.mk index d9a7d86ab..b0bca5a89 100644 --- a/keyboards/cheshire/curiosity/rules.mk +++ b/keyboards/cheshire/curiosity/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/ck60i/rules.mk b/keyboards/ck60i/rules.mk index 2360b9c85..1138f462e 100644 --- a/keyboards/ck60i/rules.mk +++ b/keyboards/ck60i/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/ckeys/thedora/rules.mk b/keyboards/ckeys/thedora/rules.mk index e364db1c1..265e6b347 100755 --- a/keyboards/ckeys/thedora/rules.mk +++ b/keyboards/ckeys/thedora/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/clueboard/60/config.h b/keyboards/clueboard/60/config.h index 1ca9d9844..9263a8f65 100644 --- a/keyboards/clueboard/60/config.h +++ b/keyboards/clueboard/60/config.h | |||
@@ -19,12 +19,6 @@ | |||
19 | 19 | ||
20 | #include "config_common.h" | 20 | #include "config_common.h" |
21 | 21 | ||
22 | /* Address for jumping to bootloader on STM32 chips. */ | ||
23 | /* It is chip dependent, the correct number can be looked up here: | ||
24 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
25 | */ | ||
26 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
27 | |||
28 | /* Backlight configuration | 22 | /* Backlight configuration |
29 | */ | 23 | */ |
30 | #define BACKLIGHT_LEVELS 1 | 24 | #define BACKLIGHT_LEVELS 1 |
diff --git a/keyboards/clueboard/66/rev4/config.h b/keyboards/clueboard/66/rev4/config.h index 2c11cf1ec..bc5a9bf33 100644 --- a/keyboards/clueboard/66/rev4/config.h +++ b/keyboards/clueboard/66/rev4/config.h | |||
@@ -2,12 +2,6 @@ | |||
2 | 2 | ||
3 | #include "config_common.h" | 3 | #include "config_common.h" |
4 | 4 | ||
5 | /* Address for jumping to bootloader on STM32 chips. */ | ||
6 | /* It is chip dependent, the correct number can be looked up here: | ||
7 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
8 | */ | ||
9 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
10 | |||
11 | /* Backlight configuration | 5 | /* Backlight configuration |
12 | */ | 6 | */ |
13 | #define BACKLIGHT_LEVELS 1 | 7 | #define BACKLIGHT_LEVELS 1 |
diff --git a/keyboards/clueboard/66_hotswap/gen1/config.h b/keyboards/clueboard/66_hotswap/gen1/config.h index 5ed3c5b27..e0e69a2ba 100644 --- a/keyboards/clueboard/66_hotswap/gen1/config.h +++ b/keyboards/clueboard/66_hotswap/gen1/config.h | |||
@@ -18,12 +18,6 @@ | |||
18 | #pragma once | 18 | #pragma once |
19 | #include "config_common.h" | 19 | #include "config_common.h" |
20 | 20 | ||
21 | /* Address for jumping to bootloader on STM32 chips. */ | ||
22 | /* It is chip dependent, the correct number can be looked up here: | ||
23 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
24 | */ | ||
25 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
26 | |||
27 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 21 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
28 | // #define DEBOUNCE 6 | 22 | // #define DEBOUNCE 6 |
29 | 23 | ||
diff --git a/keyboards/coarse/cordillera/rules.mk b/keyboards/coarse/cordillera/rules.mk index d35a6a659..70d00be2f 100644 --- a/keyboards/coarse/cordillera/rules.mk +++ b/keyboards/coarse/cordillera/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/cutie_club/borsdorf/rules.mk b/keyboards/cutie_club/borsdorf/rules.mk index 4430f2419..6d815e4ff 100644 --- a/keyboards/cutie_club/borsdorf/rules.mk +++ b/keyboards/cutie_club/borsdorf/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/cutie_club/giant_macro_pad/rules.mk b/keyboards/cutie_club/giant_macro_pad/rules.mk index 4430f2419..6d815e4ff 100755 --- a/keyboards/cutie_club/giant_macro_pad/rules.mk +++ b/keyboards/cutie_club/giant_macro_pad/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/daji/seis_cinco/rules.mk b/keyboards/daji/seis_cinco/rules.mk index 768e50069..f2f3619b5 100644 --- a/keyboards/daji/seis_cinco/rules.mk +++ b/keyboards/daji/seis_cinco/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | BOARD = GENERIC_STM32_F072XB | 3 | BOARD = GENERIC_STM32_F072XB |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/dekunukem/duckypad/rules.mk b/keyboards/dekunukem/duckypad/rules.mk index 2deef1eee..1a7031eff 100644 --- a/keyboards/dekunukem/duckypad/rules.mk +++ b/keyboards/dekunukem/duckypad/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU Name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/durgod/k320/rules.mk b/keyboards/durgod/k320/rules.mk index 7e910174f..e6f0007fd 100644 --- a/keyboards/durgod/k320/rules.mk +++ b/keyboards/durgod/k320/rules.mk | |||
@@ -1,9 +1,11 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | # Actually F070, but close enough | 2 | # Actually F070, but close enough |
3 | MCU = STM32F072 | 3 | MCU = STM32F072 |
4 | |||
5 | BOARD = DURGOD_STM32_F070 | 4 | BOARD = DURGOD_STM32_F070 |
6 | 5 | ||
6 | # Bootloader selection | ||
7 | BOOTLOADER = stm32-dfu | ||
8 | |||
7 | # Do not put the microcontroller into power saving mode | 9 | # Do not put the microcontroller into power saving mode |
8 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | 10 | OPT_DEFS += -DNO_SUSPEND_POWER_DOWN |
9 | 11 | ||
diff --git a/keyboards/dztech/dz60rgb/v1/rules.mk b/keyboards/dztech/dz60rgb/v1/rules.mk index f6b7f394c..678eb385c 100644 --- a/keyboards/dztech/dz60rgb/v1/rules.mk +++ b/keyboards/dztech/dz60rgb/v1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/dztech/dz60rgb_ansi/v1/rules.mk b/keyboards/dztech/dz60rgb_ansi/v1/rules.mk index f6b7f394c..678eb385c 100644 --- a/keyboards/dztech/dz60rgb_ansi/v1/rules.mk +++ b/keyboards/dztech/dz60rgb_ansi/v1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/dztech/dz60rgb_wkl/v1/rules.mk b/keyboards/dztech/dz60rgb_wkl/v1/rules.mk index e8753127e..6a9af2dee 100644 --- a/keyboards/dztech/dz60rgb_wkl/v1/rules.mk +++ b/keyboards/dztech/dz60rgb_wkl/v1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/dztech/dz65rgb/v1/rules.mk b/keyboards/dztech/dz65rgb/v1/rules.mk index 8751af649..5468deb71 100644 --- a/keyboards/dztech/dz65rgb/v1/rules.mk +++ b/keyboards/dztech/dz65rgb/v1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/ebastler/isometria_75/rev1/rules.mk b/keyboards/ebastler/isometria_75/rev1/rules.mk index 72be720b2..ec05abff0 100644 --- a/keyboards/ebastler/isometria_75/rev1/rules.mk +++ b/keyboards/ebastler/isometria_75/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/evolv/rules.mk b/keyboards/evolv/rules.mk index 13a44c3c6..b01db8134 100644 --- a/keyboards/evolv/rules.mk +++ b/keyboards/evolv/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/ferris/0_2/rules.mk b/keyboards/ferris/0_2/rules.mk index 5a7649b75..f1a66061c 100644 --- a/keyboards/ferris/0_2/rules.mk +++ b/keyboards/ferris/0_2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # change yes to no to disable | 7 | # change yes to no to disable |
5 | # | 8 | # |
6 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 9 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
diff --git a/keyboards/function96/v1/rules.mk b/keyboards/function96/v1/rules.mk index 48ab62762..adbe34e7d 100644 --- a/keyboards/function96/v1/rules.mk +++ b/keyboards/function96/v1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/function96/v2/rules.mk b/keyboards/function96/v2/rules.mk index 48ab62762..adbe34e7d 100644 --- a/keyboards/function96/v2/rules.mk +++ b/keyboards/function96/v2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/geekboards/macropad_v2/rules.mk b/keyboards/geekboards/macropad_v2/rules.mk index 73575b673..47db87709 100644 --- a/keyboards/geekboards/macropad_v2/rules.mk +++ b/keyboards/geekboards/macropad_v2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/geminate60/rules.mk b/keyboards/geminate60/rules.mk index 56db09520..8fc40411d 100644 --- a/keyboards/geminate60/rules.mk +++ b/keyboards/geminate60/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/generic_panda/panda65_01/rules.mk b/keyboards/generic_panda/panda65_01/rules.mk index cb4e9cc83..b05f306d3 100644 --- a/keyboards/generic_panda/panda65_01/rules.mk +++ b/keyboards/generic_panda/panda65_01/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/gmmk/pro/rules.mk b/keyboards/gmmk/pro/rules.mk index 011ca86b6..b12d055a3 100644 --- a/keyboards/gmmk/pro/rules.mk +++ b/keyboards/gmmk/pro/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/hadron/ver3/rules.mk b/keyboards/hadron/ver3/rules.mk index c7ed67682..ef839977e 100644 --- a/keyboards/hadron/ver3/rules.mk +++ b/keyboards/hadron/ver3/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/hand88/rules.mk b/keyboards/hand88/rules.mk index 3067704c5..36088f03f 100755 --- a/keyboards/hand88/rules.mk +++ b/keyboards/hand88/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Do not put the microcontroller into power saving mode | 7 | # Do not put the microcontroller into power saving mode |
5 | # when we get USB suspend event. We want it to keep updating | 8 | # when we get USB suspend event. We want it to keep updating |
6 | # backlight effects. | 9 | # backlight effects. |
diff --git a/keyboards/handwired/ck4x4/rules.mk b/keyboards/handwired/ck4x4/rules.mk index ebf1648c2..4bad1b8a5 100644 --- a/keyboards/handwired/ck4x4/rules.mk +++ b/keyboards/handwired/ck4x4/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/handwired/co60/rev6/config.h b/keyboards/handwired/co60/rev6/config.h index 79c64e735..c142d10f2 100644 --- a/keyboards/handwired/co60/rev6/config.h +++ b/keyboards/handwired/co60/rev6/config.h | |||
@@ -25,12 +25,6 @@ | |||
25 | #define MANUFACTURER John M Daly | 25 | #define MANUFACTURER John M Daly |
26 | #define PRODUCT CO60 rev6 | 26 | #define PRODUCT CO60 rev6 |
27 | 27 | ||
28 | /* Address for jumping to bootloader on STM32 chips. */ | ||
29 | /* It is chip dependent, the correct number can be looked up here: | ||
30 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
31 | */ | ||
32 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
33 | |||
34 | /* key matrix size */ | 28 | /* key matrix size */ |
35 | #define MATRIX_ROWS 5 | 29 | #define MATRIX_ROWS 5 |
36 | #define MATRIX_COLS 15 | 30 | #define MATRIX_COLS 15 |
diff --git a/keyboards/handwired/co60/rev6/rules.mk b/keyboards/handwired/co60/rev6/rules.mk index f4e7ae924..5c26d9a30 100644 --- a/keyboards/handwired/co60/rev6/rules.mk +++ b/keyboards/handwired/co60/rev6/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h index 20e62472b..16fa7cb4c 100644 --- a/keyboards/handwired/co60/rev7/config.h +++ b/keyboards/handwired/co60/rev7/config.h | |||
@@ -26,12 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
26 | #define MANUFACTURER John M Daly | 26 | #define MANUFACTURER John M Daly |
27 | #define PRODUCT CO60 rev7 | 27 | #define PRODUCT CO60 rev7 |
28 | 28 | ||
29 | /* Address for jumping to bootloader on STM32 chips. */ | ||
30 | /* It is chip dependent, the correct number can be looked up here: | ||
31 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
32 | */ | ||
33 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
34 | |||
35 | /* key matrix size */ | 29 | /* key matrix size */ |
36 | #define MATRIX_ROWS 5 | 30 | #define MATRIX_ROWS 5 |
37 | #define MATRIX_COLS 15 | 31 | #define MATRIX_COLS 15 |
diff --git a/keyboards/handwired/co60/rev7/rules.mk b/keyboards/handwired/co60/rev7/rules.mk index 3e15f073f..25e7a2bf1 100644 --- a/keyboards/handwired/co60/rev7/rules.mk +++ b/keyboards/handwired/co60/rev7/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Use SPI for RGB underglow: | 8 | # Use SPI for RGB underglow: |
6 | WS2812_DRIVER = spi | 9 | WS2812_DRIVER = spi |
7 | 10 | ||
diff --git a/keyboards/handwired/d48/rules.mk b/keyboards/handwired/d48/rules.mk index 41a6cc522..60a9f089d 100644 --- a/keyboards/handwired/d48/rules.mk +++ b/keyboards/handwired/d48/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/handwired/ddg_56/rules.mk b/keyboards/handwired/ddg_56/rules.mk index 814338430..56c900712 100644 --- a/keyboards/handwired/ddg_56/rules.mk +++ b/keyboards/handwired/ddg_56/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change to "no" to disable the options, or define them in the Makefile in | 9 | # change to "no" to disable the options, or define them in the Makefile in |
7 | # the appropriate keymap folder that will get included automatically | 10 | # the appropriate keymap folder that will get included automatically |
@@ -15,4 +18,4 @@ NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: h | |||
15 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 18 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
16 | MIDI_ENABLE = no # MIDI controls | 19 | MIDI_ENABLE = no # MIDI controls |
17 | AUDIO_ENABLE = yes # Audio output on port C6 | 20 | AUDIO_ENABLE = yes # Audio output on port C6 |
18 | UNICODE_ENABLE = no # Unicode \ No newline at end of file | 21 | UNICODE_ENABLE = no # Unicode |
diff --git a/keyboards/handwired/floorboard/rules.mk b/keyboards/handwired/floorboard/rules.mk index 131e8fb26..be14c2e65 100644 --- a/keyboards/handwired/floorboard/rules.mk +++ b/keyboards/handwired/floorboard/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/handwired/onekey/blackpill_f401/rules.mk b/keyboards/handwired/onekey/blackpill_f401/rules.mk index 6eb37a581..9b0a72afb 100644 --- a/keyboards/handwired/onekey/blackpill_f401/rules.mk +++ b/keyboards/handwired/onekey/blackpill_f401/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F401 | 2 | MCU = STM32F401 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/onekey/blackpill_f411/rules.mk b/keyboards/handwired/onekey/blackpill_f411/rules.mk index 7cf886431..3ded2a258 100644 --- a/keyboards/handwired/onekey/blackpill_f411/rules.mk +++ b/keyboards/handwired/onekey/blackpill_f411/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk index ec38577b2..4d0b1591e 100755 --- a/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk +++ b/keyboards/handwired/onekey/blackpill_f411_tinyuf2/rules.mk | |||
@@ -1,10 +1,10 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = tinyuf2 | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
7 | KEYBOARD_SHARED_EP = yes | 10 | KEYBOARD_SHARED_EP = yes |
8 | |||
9 | # We want to use the tinyuf2 bootloader... | ||
10 | BOOTLOADER = tinyuf2 \ No newline at end of file | ||
diff --git a/keyboards/handwired/onekey/proton_c/rules.mk b/keyboards/handwired/onekey/proton_c/rules.mk index 4e157baed..7a846816d 100644 --- a/keyboards/handwired/onekey/proton_c/rules.mk +++ b/keyboards/handwired/onekey/proton_c/rules.mk | |||
@@ -1,3 +1,6 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | |||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
diff --git a/keyboards/handwired/onekey/stm32f0_disco/rules.mk b/keyboards/handwired/onekey/stm32f0_disco/rules.mk index d8928e9ec..6b3792832 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/rules.mk +++ b/keyboards/handwired/onekey/stm32f0_disco/rules.mk | |||
@@ -1,6 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
4 | 6 | ||
5 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 7 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
6 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 8 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/handwired/pill60/blackpill_f401/rules.mk b/keyboards/handwired/pill60/blackpill_f401/rules.mk index 8c514309d..9b0a72afb 100644 --- a/keyboards/handwired/pill60/blackpill_f401/rules.mk +++ b/keyboards/handwired/pill60/blackpill_f401/rules.mk | |||
@@ -1,12 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F401 | 2 | MCU = STM32F401 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | |||
7 | # Options to pass to dfu-util when flashing | ||
8 | DFU_ARGS = -d 0483:DF11 -a 0 -s 0x08000000:leave | ||
9 | DFU_SUFFIX_ARGS = -v 0483 -p DF11 | ||
10 | 6 | ||
11 | # Build Options | 7 | # Build Options |
12 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/pill60/blackpill_f411/rules.mk b/keyboards/handwired/pill60/blackpill_f411/rules.mk index 84dd584e8..124355701 100644 --- a/keyboards/handwired/pill60/blackpill_f411/rules.mk +++ b/keyboards/handwired/pill60/blackpill_f411/rules.mk | |||
@@ -1,12 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | |||
7 | # Options to pass to dfu-util when flashing | ||
8 | DFU_ARGS = -d 0483:DF11 -a 0 -s 0x08000000:leave | ||
9 | DFU_SUFFIX_ARGS = -v 0483 -p DF11 | ||
10 | 6 | ||
11 | # Build Options | 7 | # Build Options |
12 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/riblee_f401/rules.mk b/keyboards/handwired/riblee_f401/rules.mk index efe2522ee..0291ca04f 100644 --- a/keyboards/handwired/riblee_f401/rules.mk +++ b/keyboards/handwired/riblee_f401/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F401 | 2 | MCU = STM32F401 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/riblee_f411/rules.mk b/keyboards/handwired/riblee_f411/rules.mk index a44b2b058..8b029be69 100644 --- a/keyboards/handwired/riblee_f411/rules.mk +++ b/keyboards/handwired/riblee_f411/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/handwired/selene/rules.mk b/keyboards/handwired/selene/rules.mk index bfb967f9a..842675b75 100644 --- a/keyboards/handwired/selene/rules.mk +++ b/keyboards/handwired/selene/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/handwired/sick_pad/rules.mk b/keyboards/handwired/sick_pad/rules.mk index 28578f082..4fe7d9aff 100644 --- a/keyboards/handwired/sick_pad/rules.mk +++ b/keyboards/handwired/sick_pad/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/handwired/steamvan/rev1/config.h b/keyboards/handwired/steamvan/rev1/config.h index e877484b9..18a6690c2 100644 --- a/keyboards/handwired/steamvan/rev1/config.h +++ b/keyboards/handwired/steamvan/rev1/config.h | |||
@@ -26,12 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
26 | #define MANUFACTURER John M Daly | 26 | #define MANUFACTURER John M Daly |
27 | #define PRODUCT SteamVan rev1 | 27 | #define PRODUCT SteamVan rev1 |
28 | 28 | ||
29 | /* Address for jumping to bootloader on STM32 chips. */ | ||
30 | /* It is chip dependent, the correct number can be looked up here: | ||
31 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
32 | */ | ||
33 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800 | ||
34 | |||
35 | /* key matrix size */ | 29 | /* key matrix size */ |
36 | #define MATRIX_ROWS 4 | 30 | #define MATRIX_ROWS 4 |
37 | #define MATRIX_COLS 12 | 31 | #define MATRIX_COLS 12 |
diff --git a/keyboards/handwired/steamvan/rev1/rules.mk b/keyboards/handwired/steamvan/rev1/rules.mk index 30c74d2ec..99edf7c17 100644 --- a/keyboards/handwired/steamvan/rev1/rules.mk +++ b/keyboards/handwired/steamvan/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Use SPI for RGB underglow: | 8 | # Use SPI for RGB underglow: |
6 | WS2812_DRIVER = spi | 9 | WS2812_DRIVER = spi |
7 | 10 | ||
diff --git a/keyboards/handwired/t111/rules.mk b/keyboards/handwired/t111/rules.mk index 1c391242b..558598d74 100644 --- a/keyboards/handwired/t111/rules.mk +++ b/keyboards/handwired/t111/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F103 | 2 | MCU = STM32F103 |
2 | 3 | ||
3 | # Bootloader selection | 4 | # Bootloader selection |
diff --git a/keyboards/handwired/wulkan/rules.mk b/keyboards/handwired/wulkan/rules.mk index 94086e14f..83f0d7f48 100644 --- a/keyboards/handwired/wulkan/rules.mk +++ b/keyboards/handwired/wulkan/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # comment out to disable the options. | 9 | # comment out to disable the options. |
7 | # | 10 | # |
diff --git a/keyboards/handwired/z150/rules.mk b/keyboards/handwired/z150/rules.mk index d86e9f6e4..b9b242568 100644 --- a/keyboards/handwired/z150/rules.mk +++ b/keyboards/handwired/z150/rules.mk | |||
@@ -1,3 +1,4 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F103 | 2 | MCU = STM32F103 |
2 | 3 | ||
3 | # Bootloader selection | 4 | # Bootloader selection |
diff --git a/keyboards/hp69/rules.mk b/keyboards/hp69/rules.mk index 96ad29a6f..13e88cfe2 100644 --- a/keyboards/hp69/rules.mk +++ b/keyboards/hp69/rules.mk | |||
@@ -3,7 +3,7 @@ MCU = STM32F303 | |||
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | 5 | # Bootloader selection |
6 | BOOTLOADER = atmel-dfu | 6 | BOOTLOADER = stm32-dfu |
7 | 7 | ||
8 | # Build Options | 8 | # Build Options |
9 | # change yes to no to disable | 9 | # change yes to no to disable |
@@ -20,4 +20,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover | |||
20 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 20 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
21 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 21 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
22 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 22 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
23 | AUDIO_ENABLE = no # Audio output \ No newline at end of file | 23 | AUDIO_ENABLE = no # Audio output |
diff --git a/keyboards/hs60/v2/ansi/rules.mk b/keyboards/hs60/v2/ansi/rules.mk index 5d5189263..1a0c1abbd 100644 --- a/keyboards/hs60/v2/ansi/rules.mk +++ b/keyboards/hs60/v2/ansi/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/hs60/v2/hhkb/rules.mk b/keyboards/hs60/v2/hhkb/rules.mk index 780454d3f..87d86ccd4 100644 --- a/keyboards/hs60/v2/hhkb/rules.mk +++ b/keyboards/hs60/v2/hhkb/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/hs60/v2/iso/rules.mk b/keyboards/hs60/v2/iso/rules.mk index a27f8a064..53b801289 100644 --- a/keyboards/hs60/v2/iso/rules.mk +++ b/keyboards/hs60/v2/iso/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/hub20/rules.mk b/keyboards/hub20/rules.mk index 9abb4f80a..61d6ba1f5 100644 --- a/keyboards/hub20/rules.mk +++ b/keyboards/hub20/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/iron180/rules.mk b/keyboards/iron180/rules.mk index a202eca61..f444528f1 100644 --- a/keyboards/iron180/rules.mk +++ b/keyboards/iron180/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk b/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk index 4e79819ff..85897df63 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk +++ b/keyboards/kbdfans/kbd67/mkiirgb/v1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | BACKLIGHT_ENABLE = no | 8 | BACKLIGHT_ENABLE = no |
6 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | 9 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration |
7 | MOUSEKEY_ENABLE = yes # Mouse keys | 10 | MOUSEKEY_ENABLE = yes # Mouse keys |
diff --git a/keyboards/keebio/bdn9/rev2/rules.mk b/keyboards/keebio/bdn9/rev2/rules.mk index f5a500a16..df6de1407 100644 --- a/keyboards/keebio/bdn9/rev2/rules.mk +++ b/keyboards/keebio/bdn9/rev2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/keebio/choconum/rules.mk b/keyboards/keebio/choconum/rules.mk index 528c9d6ce..f166909c5 100644 --- a/keyboards/keebio/choconum/rules.mk +++ b/keyboards/keebio/choconum/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/keebio/dsp40/rev1/rules.mk b/keyboards/keebio/dsp40/rev1/rules.mk index 5f781fb5d..ab4684228 100644 --- a/keyboards/keebio/dsp40/rev1/rules.mk +++ b/keyboards/keebio/dsp40/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/keebwerk/mega/ansi/rules.mk b/keyboards/keebwerk/mega/ansi/rules.mk index 5e664cb81..6a1a9cbfa 100755 --- a/keyboards/keebwerk/mega/ansi/rules.mk +++ b/keyboards/keebwerk/mega/ansi/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Do not put the microcontroller into power saving mode | 7 | # Do not put the microcontroller into power saving mode |
5 | # when we get USB suspend event. We want it to keep updating | 8 | # when we get USB suspend event. We want it to keep updating |
6 | # backlight effects. | 9 | # backlight effects. |
diff --git a/keyboards/kv/revt/rules.mk b/keyboards/kv/revt/rules.mk index 1d6c0d8da..7d2acfcd0 100644 --- a/keyboards/kv/revt/rules.mk +++ b/keyboards/kv/revt/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/linworks/whale75/rules.mk b/keyboards/linworks/whale75/rules.mk index 444459918..bcca4a73d 100644 --- a/keyboards/linworks/whale75/rules.mk +++ b/keyboards/linworks/whale75/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
@@ -22,4 +25,4 @@ ENCODER_ENABLE = yes | |||
22 | WS2812_DRIVER = pwm | 25 | WS2812_DRIVER = pwm |
23 | 26 | ||
24 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 27 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
25 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE \ No newline at end of file | 28 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/mechlovin/adelais/rules.mk b/keyboards/mechlovin/adelais/rules.mk index da4ad3e57..73e90befb 100644 --- a/keyboards/mechlovin/adelais/rules.mk +++ b/keyboards/mechlovin/adelais/rules.mk | |||
@@ -2,6 +2,8 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
5 | 7 | ||
6 | # Build Options | 8 | # Build Options |
7 | # change yes to no to disable | 9 | # change yes to no to disable |
diff --git a/keyboards/mechlovin/hannah60rgb/rules.mk b/keyboards/mechlovin/hannah60rgb/rules.mk index 2fe4bb7aa..3d11b3c9a 100644 --- a/keyboards/mechlovin/hannah60rgb/rules.mk +++ b/keyboards/mechlovin/hannah60rgb/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/mechlovin/hannah65/rules.mk b/keyboards/mechlovin/hannah65/rules.mk index 57ead17fa..656722353 100644 --- a/keyboards/mechlovin/hannah65/rules.mk +++ b/keyboards/mechlovin/hannah65/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
@@ -19,4 +22,4 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||
19 | BLUETOOTH_ENABLE = no # Enable Bluetooth | 22 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
20 | AUDIO_ENABLE = no # Audio output | 23 | AUDIO_ENABLE = no # Audio output |
21 | 24 | ||
22 | DEFAULT_FOLDER = mechlovin/hannah65/rev1 \ No newline at end of file | 25 | DEFAULT_FOLDER = mechlovin/hannah65/rev1 |
diff --git a/keyboards/mechlovin/hex6c/rules.mk b/keyboards/mechlovin/hex6c/rules.mk index 99aa532c2..0af4a07f7 100644 --- a/keyboards/mechlovin/hex6c/rules.mk +++ b/keyboards/mechlovin/hex6c/rules.mk | |||
@@ -1,8 +1,10 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | |||
4 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
5 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
6 | # Build Options | 8 | # Build Options |
7 | # change yes to no to disable | 9 | # change yes to no to disable |
8 | # | 10 | # |
diff --git a/keyboards/mechlovin/infinity87/rev1/rules.mk b/keyboards/mechlovin/infinity87/rev1/rules.mk index 19be0ad83..82b0f2e48 100644 --- a/keyboards/mechlovin/infinity87/rev1/rules.mk +++ b/keyboards/mechlovin/infinity87/rev1/rules.mk | |||
@@ -1,6 +1,10 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F303 | 2 | MCU = STM32F303 |
2 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
3 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
4 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 8 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
5 | 9 | ||
6 | DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard | 10 | DEFAULT_FOLDER = mechlovin/infinity87/rev1/standard |
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/rules.mk b/keyboards/mechlovin/infinity87/rgb_rev1/rules.mk index aa7adc895..27de40424 100644 --- a/keyboards/mechlovin/infinity87/rgb_rev1/rules.mk +++ b/keyboards/mechlovin/infinity87/rgb_rev1/rules.mk | |||
@@ -1,5 +1,9 @@ | |||
1 | # MCU name | ||
1 | MCU = STM32F303 | 2 | MCU = STM32F303 |
2 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
3 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
4 | RGB_MATRIX_ENABLE = yes # Use RGB matrix | 8 | RGB_MATRIX_ENABLE = yes # Use RGB matrix |
5 | RGB_MATRIX_DRIVER = IS31FL3741 | 9 | RGB_MATRIX_DRIVER = IS31FL3741 |
diff --git a/keyboards/mechlovin/infinity88/rules.mk b/keyboards/mechlovin/infinity88/rules.mk index 40e4543e8..85c01d52b 100644 --- a/keyboards/mechlovin/infinity88/rules.mk +++ b/keyboards/mechlovin/infinity88/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/mechlovin/tmkl/rules.mk b/keyboards/mechlovin/tmkl/rules.mk index bbe320ff5..54a646d27 100644 --- a/keyboards/mechlovin/tmkl/rules.mk +++ b/keyboards/mechlovin/tmkl/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj61/rev1/rules.mk b/keyboards/melgeek/mj61/rev1/rules.mk index 31a770cfb..e7b3e77e4 100644 --- a/keyboards/melgeek/mj61/rev1/rules.mk +++ b/keyboards/melgeek/mj61/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj61/rev2/rules.mk b/keyboards/melgeek/mj61/rev2/rules.mk index 31a770cfb..e7b3e77e4 100644 --- a/keyboards/melgeek/mj61/rev2/rules.mk +++ b/keyboards/melgeek/mj61/rev2/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj63/rev1/rules.mk b/keyboards/melgeek/mj63/rev1/rules.mk index c55beb7d1..e77935576 100644 --- a/keyboards/melgeek/mj63/rev1/rules.mk +++ b/keyboards/melgeek/mj63/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj63/rev2/rules.mk b/keyboards/melgeek/mj63/rev2/rules.mk index c55beb7d1..e77935576 100644 --- a/keyboards/melgeek/mj63/rev2/rules.mk +++ b/keyboards/melgeek/mj63/rev2/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj64/rev1/rules.mk b/keyboards/melgeek/mj64/rev1/rules.mk index f50aefd04..0efb7fb8f 100644 --- a/keyboards/melgeek/mj64/rev1/rules.mk +++ b/keyboards/melgeek/mj64/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj64/rev2/rules.mk b/keyboards/melgeek/mj64/rev2/rules.mk index f50aefd04..0efb7fb8f 100644 --- a/keyboards/melgeek/mj64/rev2/rules.mk +++ b/keyboards/melgeek/mj64/rev2/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj64/rev3/rules.mk b/keyboards/melgeek/mj64/rev3/rules.mk index f50aefd04..0efb7fb8f 100644 --- a/keyboards/melgeek/mj64/rev3/rules.mk +++ b/keyboards/melgeek/mj64/rev3/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mj65/rev3/rules.mk b/keyboards/melgeek/mj65/rev3/rules.mk index bf4ed9553..13a802355 100644 --- a/keyboards/melgeek/mj65/rev3/rules.mk +++ b/keyboards/melgeek/mj65/rev3/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/mojo75/rev1/rules.mk b/keyboards/melgeek/mojo75/rev1/rules.mk index 0ccfdcb8d..9b3d6367f 100644 --- a/keyboards/melgeek/mojo75/rev1/rules.mk +++ b/keyboards/melgeek/mojo75/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/melgeek/z70ultra/rev1/rules.mk b/keyboards/melgeek/z70ultra/rev1/rules.mk index 48087186d..a80e42906 100644 --- a/keyboards/melgeek/z70ultra/rev1/rules.mk +++ b/keyboards/melgeek/z70ultra/rev1/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/misterknife/knife66/rules.mk b/keyboards/misterknife/knife66/rules.mk index 540a423f2..2202d51ea 100644 --- a/keyboards/misterknife/knife66/rules.mk +++ b/keyboards/misterknife/knife66/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/misterknife/knife66_iso/rules.mk b/keyboards/misterknife/knife66_iso/rules.mk index 540a423f2..2202d51ea 100644 --- a/keyboards/misterknife/knife66_iso/rules.mk +++ b/keyboards/misterknife/knife66_iso/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/mode/eighty/m80h/rules.mk b/keyboards/mode/eighty/m80h/rules.mk index 67c3b0d66..583ff2377 100644 --- a/keyboards/mode/eighty/m80h/rules.mk +++ b/keyboards/mode/eighty/m80h/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/mode/eighty/m80s/rules.mk b/keyboards/mode/eighty/m80s/rules.mk index 67c3b0d66..583ff2377 100644 --- a/keyboards/mode/eighty/m80s/rules.mk +++ b/keyboards/mode/eighty/m80s/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/monarch/rules.mk b/keyboards/monarch/rules.mk index 22ec091e7..bd08c22ee 100644 --- a/keyboards/monarch/rules.mk +++ b/keyboards/monarch/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/moonlander/rules.mk b/keyboards/moonlander/rules.mk index 7076347ec..8e8dbf94f 100644 --- a/keyboards/moonlander/rules.mk +++ b/keyboards/moonlander/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/nack/rules.mk b/keyboards/nack/rules.mk index 92103cab1..35e944069 100644 --- a/keyboards/nack/rules.mk +++ b/keyboards/nack/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/nebula12/bootloader_defs.h b/keyboards/nebula12/bootloader_defs.h deleted file mode 100644 index dccd0fa5d..000000000 --- a/keyboards/nebula12/bootloader_defs.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | ||
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | ||
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
4 | */ | ||
5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC800 | ||
diff --git a/keyboards/nebula12/rules.mk b/keyboards/nebula12/rules.mk index 8b58827ad..3a423fb78 100755 --- a/keyboards/nebula12/rules.mk +++ b/keyboards/nebula12/rules.mk | |||
@@ -1,8 +1,10 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | |||
4 | BOARD = GENERIC_STM32_F072XB | 3 | BOARD = GENERIC_STM32_F072XB |
5 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
6 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
7 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
8 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/nebula68/rules.mk b/keyboards/nebula68/rules.mk index 40e17f1b4..bcf1fd1a8 100755 --- a/keyboards/nebula68/rules.mk +++ b/keyboards/nebula68/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/nemui/rules.mk b/keyboards/nemui/rules.mk index 011a8a89b..bff178858 100644 --- a/keyboards/nemui/rules.mk +++ b/keyboards/nemui/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/nibiria/stream15/rules.mk b/keyboards/nibiria/stream15/rules.mk index af39fc16c..fde060ddb 100644 --- a/keyboards/nibiria/stream15/rules.mk +++ b/keyboards/nibiria/stream15/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/nightingale_studios/hailey/rules.mk b/keyboards/nightingale_studios/hailey/rules.mk index 5789036c7..614fcdedb 100644 --- a/keyboards/nightingale_studios/hailey/rules.mk +++ b/keyboards/nightingale_studios/hailey/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/nk65/rules.mk b/keyboards/nk65/rules.mk index 2e270289d..e3f02ee09 100755 --- a/keyboards/nk65/rules.mk +++ b/keyboards/nk65/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/nk87/rules.mk b/keyboards/nk87/rules.mk index e10ec5bc0..71f8f3dd8 100755 --- a/keyboards/nk87/rules.mk +++ b/keyboards/nk87/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Do not put the microcontroller into power saving mode | 8 | # Do not put the microcontroller into power saving mode |
6 | # when we get USB suspend event. We want it to keep updating | 9 | # when we get USB suspend event. We want it to keep updating |
7 | # backlight effects. | 10 | # backlight effects. |
diff --git a/keyboards/peiorisboards/ixora/rules.mk b/keyboards/peiorisboards/ixora/rules.mk index 5451bf95e..0bbdadfe6 100644 --- a/keyboards/peiorisboards/ixora/rules.mk +++ b/keyboards/peiorisboards/ixora/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/phoenix/rules.mk b/keyboards/phoenix/rules.mk index 968c6548c..7fa379f1a 100644 --- a/keyboards/phoenix/rules.mk +++ b/keyboards/phoenix/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F401 | 2 | MCU = STM32F401 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Build Options | 7 | # Build Options |
8 | # change yes to no to disable | 8 | # change yes to no to disable |
diff --git a/keyboards/pizzakeyboards/pizza65/rules.mk b/keyboards/pizzakeyboards/pizza65/rules.mk index 2889fe9f3..6972c8176 100644 --- a/keyboards/pizzakeyboards/pizza65/rules.mk +++ b/keyboards/pizzakeyboards/pizza65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/planck/ez/rules.mk b/keyboards/planck/ez/rules.mk index 85d474c5e..8d221767e 100644 --- a/keyboards/planck/ez/rules.mk +++ b/keyboards/planck/ez/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change to "no" to disable the options, or define them in the Makefile in | 9 | # change to "no" to disable the options, or define them in the Makefile in |
7 | # the appropriate keymap folder that will get included automatically | 10 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/planck/rev6/rules.mk b/keyboards/planck/rev6/rules.mk index 87da1696a..7760353e3 100644 --- a/keyboards/planck/rev6/rules.mk +++ b/keyboards/planck/rev6/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change to "no" to disable the options, or define them in the Makefile in | 9 | # change to "no" to disable the options, or define them in the Makefile in |
7 | # the appropriate keymap folder that will get included automatically | 10 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/polilla/rev1/rules.mk b/keyboards/polilla/rev1/rules.mk index f755f9d1d..e6ef1737e 100644 --- a/keyboards/polilla/rev1/rules.mk +++ b/keyboards/polilla/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/preonic/rev3/rules.mk b/keyboards/preonic/rev3/rules.mk index ca3e8f0ad..ae7ff2a5a 100644 --- a/keyboards/preonic/rev3/rules.mk +++ b/keyboards/preonic/rev3/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change to "no" to disable the options, or define them in the Makefile in | 9 | # change to "no" to disable the options, or define them in the Makefile in |
7 | # the appropriate keymap folder that will get included automatically | 10 | # the appropriate keymap folder that will get included automatically |
diff --git a/keyboards/primekb/meridian/rules.mk b/keyboards/primekb/meridian/rules.mk index 9e2f958be..74a9feb66 100644 --- a/keyboards/primekb/meridian/rules.mk +++ b/keyboards/primekb/meridian/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/projectkb/alice/rev1/rules.mk b/keyboards/projectkb/alice/rev1/rules.mk index 4e0b8b15e..21714aab0 100644 --- a/keyboards/projectkb/alice/rev1/rules.mk +++ b/keyboards/projectkb/alice/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/projectkb/alice/rev2/rules.mk b/keyboards/projectkb/alice/rev2/rules.mk index 4e0b8b15e..21714aab0 100644 --- a/keyboards/projectkb/alice/rev2/rules.mk +++ b/keyboards/projectkb/alice/rev2/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/projectkb/signature87/rules.mk b/keyboards/projectkb/signature87/rules.mk index a307166cd..fe264da9d 100644 --- a/keyboards/projectkb/signature87/rules.mk +++ b/keyboards/projectkb/signature87/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/ramonimbao/squishy65/rules.mk b/keyboards/ramonimbao/squishy65/rules.mk index 000e0d34f..1350d285e 100644 --- a/keyboards/ramonimbao/squishy65/rules.mk +++ b/keyboards/ramonimbao/squishy65/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/ramonimbao/wete/rules.mk b/keyboards/ramonimbao/wete/rules.mk index 039cc87a2..7eb46b9ba 100644 --- a/keyboards/ramonimbao/wete/rules.mk +++ b/keyboards/ramonimbao/wete/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/retro_75/rules.mk b/keyboards/retro_75/rules.mk index ec3c2b0c3..fcea7632e 100644 --- a/keyboards/retro_75/rules.mk +++ b/keyboards/retro_75/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/rgbkb/pan/rev1/proton_c/rules.mk b/keyboards/rgbkb/pan/rev1/proton_c/rules.mk index e7e9d992d..7a846816d 100644 --- a/keyboards/rgbkb/pan/rev1/proton_c/rules.mk +++ b/keyboards/rgbkb/pan/rev1/proton_c/rules.mk | |||
@@ -1,3 +1,6 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C \ No newline at end of file | 3 | BOARD = QMK_PROTON_C |
4 | |||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
diff --git a/keyboards/satt/vision/rules.mk b/keyboards/satt/vision/rules.mk index 888e650d5..5e8194558 100644 --- a/keyboards/satt/vision/rules.mk +++ b/keyboards/satt/vision/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/sowbug/68keys/bootloader_defs.h b/keyboards/sowbug/68keys/bootloader_defs.h deleted file mode 100644 index 6b8fa9f72..000000000 --- a/keyboards/sowbug/68keys/bootloader_defs.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | ||
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | ||
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
4 | * This also requires a patch to chibios: | ||
5 | * <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch | ||
6 | */ | ||
7 | |||
8 | // STM32F103* does NOT have an USB bootloader in ROM (only serial), | ||
9 | // so setting anything here does not make much sense | ||
10 | #define STM32_BOOTLOADER_ADDRESS 0x80000000 | ||
diff --git a/keyboards/sowbug/68keys/rules.mk b/keyboards/sowbug/68keys/rules.mk index 043949124..7dc7c6f6d 100644 --- a/keyboards/sowbug/68keys/rules.mk +++ b/keyboards/sowbug/68keys/rules.mk | |||
@@ -1,34 +1,27 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F103 | 2 | MCU = STM32F103 |
3 | 3 | ||
4 | # GENERIC STM32F103C8T6 board - stm32duino bootloader | 4 | # Bootloader selection |
5 | OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000 | 5 | BOOTLOADER = stm32duino |
6 | MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader | ||
7 | BOARD = STM32_F103_STM32DUINO | ||
8 | |||
9 | DFU_ARGS = -d 1eaf:0003 -a2 -R | ||
10 | DFU_SUFFIX_ARGS = -v 1eaf -p 0003 | ||
11 | 6 | ||
12 | # Build Options | 7 | # Build Options |
13 | # comment out to disable the options. | 8 | # change yes to no to disable |
14 | # | 9 | # |
15 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
16 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
17 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
18 | CONSOLE_ENABLE = no | 13 | CONSOLE_ENABLE = no # Console for debug |
19 | COMMAND_ENABLE = no # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
20 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
21 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
22 | AUDIO_ENABLE = no | 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
22 | AUDIO_ENABLE = no # Audio output | ||
23 | RGB_MATRIX_ENABLE = yes | 23 | RGB_MATRIX_ENABLE = yes |
24 | RGB_MATRIX_DRIVER = WS2812 | 24 | RGB_MATRIX_DRIVER = WS2812 |
25 | 25 | ||
26 | # Want backlighting and RGB Matrix patterns? See the note in the readme, | ||
27 | # apply the patches, and then uncomment the lines below as well as the one in | ||
28 | # config.h. | ||
29 | # | ||
30 | # BACKLIGHT_ENABLE = yes | ||
31 | # BACKLIGHT_DRIVER = rgb_matrix | ||
32 | |||
33 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 26 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
34 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 27 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/sowbug/ansi_tkl/bootloader_defs.h b/keyboards/sowbug/ansi_tkl/bootloader_defs.h deleted file mode 100644 index 6b8fa9f72..000000000 --- a/keyboards/sowbug/ansi_tkl/bootloader_defs.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | ||
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | ||
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
4 | * This also requires a patch to chibios: | ||
5 | * <tmk_dir>/tmk_core/tool/chibios/ch-bootloader-jump.patch | ||
6 | */ | ||
7 | |||
8 | // STM32F103* does NOT have an USB bootloader in ROM (only serial), | ||
9 | // so setting anything here does not make much sense | ||
10 | #define STM32_BOOTLOADER_ADDRESS 0x80000000 | ||
diff --git a/keyboards/sowbug/ansi_tkl/rules.mk b/keyboards/sowbug/ansi_tkl/rules.mk index 043949124..7dc7c6f6d 100644 --- a/keyboards/sowbug/ansi_tkl/rules.mk +++ b/keyboards/sowbug/ansi_tkl/rules.mk | |||
@@ -1,34 +1,27 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F103 | 2 | MCU = STM32F103 |
3 | 3 | ||
4 | # GENERIC STM32F103C8T6 board - stm32duino bootloader | 4 | # Bootloader selection |
5 | OPT_DEFS = -DCORTEX_VTOR_INIT=0x2000 | 5 | BOOTLOADER = stm32duino |
6 | MCU_LDSCRIPT = STM32F103x8_stm32duino_bootloader | ||
7 | BOARD = STM32_F103_STM32DUINO | ||
8 | |||
9 | DFU_ARGS = -d 1eaf:0003 -a2 -R | ||
10 | DFU_SUFFIX_ARGS = -v 1eaf -p 0003 | ||
11 | 6 | ||
12 | # Build Options | 7 | # Build Options |
13 | # comment out to disable the options. | 8 | # change yes to no to disable |
14 | # | 9 | # |
15 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = full # Virtual DIP switch configuration |
16 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
17 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
18 | CONSOLE_ENABLE = no | 13 | CONSOLE_ENABLE = no # Console for debug |
19 | COMMAND_ENABLE = no # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
20 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
21 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
22 | AUDIO_ENABLE = no | 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
22 | AUDIO_ENABLE = no # Audio output | ||
23 | RGB_MATRIX_ENABLE = yes | 23 | RGB_MATRIX_ENABLE = yes |
24 | RGB_MATRIX_DRIVER = WS2812 | 24 | RGB_MATRIX_DRIVER = WS2812 |
25 | 25 | ||
26 | # Want backlighting and RGB Matrix patterns? See the note in the readme, | ||
27 | # apply the patches, and then uncomment the lines below as well as the one in | ||
28 | # config.h. | ||
29 | # | ||
30 | # BACKLIGHT_ENABLE = yes | ||
31 | # BACKLIGHT_DRIVER = rgb_matrix | ||
32 | |||
33 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 26 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
34 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 27 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
diff --git a/keyboards/technika/rules.mk b/keyboards/technika/rules.mk index a548dbe9c..50e88b591 100644 --- a/keyboards/technika/rules.mk +++ b/keyboards/technika/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/tkc/candybar/lefty/rules.mk b/keyboards/tkc/candybar/lefty/rules.mk index 762df4a53..8e05f0643 100644 --- a/keyboards/tkc/candybar/lefty/rules.mk +++ b/keyboards/tkc/candybar/lefty/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/tkc/candybar/righty/rules.mk b/keyboards/tkc/candybar/righty/rules.mk index 762df4a53..8e05f0643 100644 --- a/keyboards/tkc/candybar/righty/rules.mk +++ b/keyboards/tkc/candybar/righty/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/tkc/godspeed75/rules.mk b/keyboards/tkc/godspeed75/rules.mk index 6a6372474..12ce2905d 100644 --- a/keyboards/tkc/godspeed75/rules.mk +++ b/keyboards/tkc/godspeed75/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/tkw/grandiceps/rules.mk b/keyboards/tkw/grandiceps/rules.mk index 432bf8647..ca3435a19 100644 --- a/keyboards/tkw/grandiceps/rules.mk +++ b/keyboards/tkw/grandiceps/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
@@ -25,6 +28,3 @@ SERIAL_DRIVER = usart | |||
25 | OLED_DRIVER_ENABLE = yes | 28 | OLED_DRIVER_ENABLE = yes |
26 | WS2812_DRIVER = pwm | 29 | WS2812_DRIVER = pwm |
27 | OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE | 30 | OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE |
28 | |||
29 | # Address of the bootloader in system memory | ||
30 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | ||
diff --git a/keyboards/tkw/stoutgat/v2/f411/rules.mk b/keyboards/tkw/stoutgat/v2/f411/rules.mk index 4f7f52e62..b32a8b7f5 100644 --- a/keyboards/tkw/stoutgat/v2/f411/rules.mk +++ b/keyboards/tkw/stoutgat/v2/f411/rules.mk | |||
@@ -1,5 +1,5 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
diff --git a/keyboards/viktus/styrka/rules.mk b/keyboards/viktus/styrka/rules.mk index ce2a3f75e..612d7e4cc 100644 --- a/keyboards/viktus/styrka/rules.mk +++ b/keyboards/viktus/styrka/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/vinta/rules.mk b/keyboards/vinta/rules.mk index d35a64197..6addb0805 100644 --- a/keyboards/vinta/rules.mk +++ b/keyboards/vinta/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F042 | 2 | MCU = STM32F042 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/westfoxtrot/prophet/rules.mk b/keyboards/westfoxtrot/prophet/rules.mk index 71fe10068..7079a7966 100644 --- a/keyboards/westfoxtrot/prophet/rules.mk +++ b/keyboards/westfoxtrot/prophet/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/xelus/kangaroo/rules.mk b/keyboards/xelus/kangaroo/rules.mk index 2a0281f94..b4b493234 100644 --- a/keyboards/xelus/kangaroo/rules.mk +++ b/keyboards/xelus/kangaroo/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # comment out to disable the options. | 8 | # comment out to disable the options. |
6 | # | 9 | # |
diff --git a/keyboards/xelus/ninjin/rules.mk b/keyboards/xelus/ninjin/rules.mk index bb7ad5260..33e0419e3 100644 --- a/keyboards/xelus/ninjin/rules.mk +++ b/keyboards/xelus/ninjin/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/xelus/pachi/rev1/rules.mk b/keyboards/xelus/pachi/rev1/rules.mk index 34953e2cb..04ebc638c 100644 --- a/keyboards/xelus/pachi/rev1/rules.mk +++ b/keyboards/xelus/pachi/rev1/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 7 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
5 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 8 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
6 | 9 | ||
diff --git a/keyboards/xelus/trinityxttkl/rules.mk b/keyboards/xelus/trinityxttkl/rules.mk index 7e6bfc581..b12368f15 100644 --- a/keyboards/xelus/trinityxttkl/rules.mk +++ b/keyboards/xelus/trinityxttkl/rules.mk | |||
@@ -1,6 +1,12 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
7 | # Wildcard to allow APM32 MCU | ||
8 | DFU_SUFFIX_ARGS = -v FFFF -p FFFF | ||
9 | |||
4 | # Build Options | 10 | # Build Options |
5 | # comment out to disable the options. | 11 | # comment out to disable the options. |
6 | # | 12 | # |
@@ -18,6 +24,3 @@ RGBLIGHT_ENABLE = no | |||
18 | 24 | ||
19 | # Enter lower-power sleep mode when on the ChibiOS idle thread | 25 | # Enter lower-power sleep mode when on the ChibiOS idle thread |
20 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | 26 | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
21 | |||
22 | # Wildcard to allow APM32 MCU | ||
23 | DFU_SUFFIX_ARGS = -p FFFF -v FFFF \ No newline at end of file | ||
diff --git a/keyboards/xelus/valor_frl_tkl/rules.mk b/keyboards/xelus/valor_frl_tkl/rules.mk index 7165dd54f..a81f8d127 100644 --- a/keyboards/xelus/valor_frl_tkl/rules.mk +++ b/keyboards/xelus/valor_frl_tkl/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/yugo_m/model_m_101/rules.mk b/keyboards/yugo_m/model_m_101/rules.mk index 12a2e3dea..7708f89f3 100644 --- a/keyboards/yugo_m/model_m_101/rules.mk +++ b/keyboards/yugo_m/model_m_101/rules.mk | |||
@@ -2,6 +2,9 @@ | |||
2 | MCU = STM32F303 | 2 | MCU = STM32F303 |
3 | BOARD = QMK_PROTON_C | 3 | BOARD = QMK_PROTON_C |
4 | 4 | ||
5 | # Bootloader selection | ||
6 | BOOTLOADER = stm32-dfu | ||
7 | |||
5 | # Build Options | 8 | # Build Options |
6 | # change yes to no to disable | 9 | # change yes to no to disable |
7 | # | 10 | # |
diff --git a/keyboards/zoo/wampus/bootloader_defs.h b/keyboards/zoo/wampus/bootloader_defs.h deleted file mode 100644 index dccd0fa5d..000000000 --- a/keyboards/zoo/wampus/bootloader_defs.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | ||
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | ||
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
4 | */ | ||
5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC800 | ||
diff --git a/keyboards/zoo/wampus/rules.mk b/keyboards/zoo/wampus/rules.mk index 889e4d858..a0eade37c 100644 --- a/keyboards/zoo/wampus/rules.mk +++ b/keyboards/zoo/wampus/rules.mk | |||
@@ -1,6 +1,9 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F072 | 2 | MCU = STM32F072 |
3 | 3 | ||
4 | # Bootloader selection | ||
5 | BOOTLOADER = stm32-dfu | ||
6 | |||
4 | # Build Options | 7 | # Build Options |
5 | # change yes to no to disable | 8 | # change yes to no to disable |
6 | # | 9 | # |
diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk index a087a1cc7..94dd74199 100644 --- a/keyboards/zvecr/zv48/f401/rules.mk +++ b/keyboards/zvecr/zv48/f401/rules.mk | |||
@@ -1,8 +1,8 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F401 | 2 | MCU = STM32F401 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
6 | 6 | ||
7 | # Disable unsupported hardware | 7 | # Disable unsupported hardware |
8 | AUDIO_SUPPORTED = no | 8 | AUDIO_SUPPORTED = no |
diff --git a/keyboards/zvecr/zv48/f411/rules.mk b/keyboards/zvecr/zv48/f411/rules.mk index 4f7f52e62..b32a8b7f5 100644 --- a/keyboards/zvecr/zv48/f411/rules.mk +++ b/keyboards/zvecr/zv48/f411/rules.mk | |||
@@ -1,5 +1,5 @@ | |||
1 | # MCU name | 1 | # MCU name |
2 | MCU = STM32F411 | 2 | MCU = STM32F411 |
3 | 3 | ||
4 | # Address of the bootloader in system memory | 4 | # Bootloader selection |
5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | BOOTLOADER = stm32-dfu |
diff --git a/keyboards/chavdai40/bootloader_defs.h b/platforms/chibios/BLACKPILL_STM32_F401/configs/bootloader_defs.h index 6b218f7bd..4da3d39a3 100644 --- a/keyboards/chavdai40/bootloader_defs.h +++ b/platforms/chibios/BLACKPILL_STM32_F401/configs/bootloader_defs.h | |||
@@ -2,4 +2,4 @@ | |||
2 | /* It is chip dependent, the correct number can be looked up here: | 2 | /* It is chip dependent, the correct number can be looked up here: |
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | 3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf |
4 | */ | 4 | */ |
5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC400 \ No newline at end of file | 5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 |
diff --git a/keyboards/at_at/660m/bootloader_defs.h b/platforms/chibios/BLACKPILL_STM32_F411/configs/bootloader_defs.h index dccd0fa5d..4da3d39a3 100644 --- a/keyboards/at_at/660m/bootloader_defs.h +++ b/platforms/chibios/BLACKPILL_STM32_F411/configs/bootloader_defs.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Address for jumping to bootloader on STM32 chips. */ | 1 | /* Address for jumping to bootloader on STM32 chips. */ |
2 | /* It is chip dependent, the correct number can be looked up here (page 175): | 2 | /* It is chip dependent, the correct number can be looked up here: |
3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | 3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf |
4 | */ | 4 | */ |
5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC800 | 5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 |
diff --git a/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk b/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk index d0a337bad..061815467 100644 --- a/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk +++ b/platforms/chibios/QMK_PROTON_C/convert_to_proton_c.mk | |||
@@ -2,6 +2,7 @@ | |||
2 | TARGET := $(TARGET)_proton_c | 2 | TARGET := $(TARGET)_proton_c |
3 | MCU := STM32F303 | 3 | MCU := STM32F303 |
4 | BOARD := QMK_PROTON_C | 4 | BOARD := QMK_PROTON_C |
5 | BOOTLOADER := stm32-dfu | ||
5 | OPT_DEFS += -DCONVERT_TO_PROTON_C | 6 | OPT_DEFS += -DCONVERT_TO_PROTON_C |
6 | 7 | ||
7 | # These are defaults based on what has been implemented for ARM boards | 8 | # These are defaults based on what has been implemented for ARM boards |