aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-08 19:48:46 +1000
committerGitHub <noreply@github.com>2021-06-08 19:48:46 +1000
commit9dcd03b6ca512126231478131796c093d237067f (patch)
treef986f6778e3405f13246de79119275e34e64c8d5 /keyboards/cannonkeys
parente0acd3e53dbefe31cec5cc9eef048fd0649d1d1d (diff)
downloadqmk_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
Diffstat (limited to 'keyboards/cannonkeys')
-rw-r--r--keyboards/cannonkeys/an_c/rules.mk9
-rw-r--r--keyboards/cannonkeys/atlas/rules.mk3
-rw-r--r--keyboards/cannonkeys/chimera65/rules.mk3
-rw-r--r--keyboards/cannonkeys/db60/rules.mk9
-rw-r--r--keyboards/cannonkeys/devastatingtkl/rules.mk9
-rw-r--r--keyboards/cannonkeys/instant60/rules.mk9
-rw-r--r--keyboards/cannonkeys/instant65/rules.mk9
-rw-r--r--keyboards/cannonkeys/iron165/rules.mk3
-rw-r--r--keyboards/cannonkeys/obliterated75/rules.mk9
-rw-r--r--keyboards/cannonkeys/onyx/rules.mk9
-rw-r--r--keyboards/cannonkeys/rekt1800/rules.mk9
-rw-r--r--keyboards/cannonkeys/sagittarius/rules.mk5
-rw-r--r--keyboards/cannonkeys/satisfaction75/bootloader_defs.h5
-rw-r--r--keyboards/cannonkeys/satisfaction75/rules.mk9
-rw-r--r--keyboards/cannonkeys/savage65/rules.mk9
-rw-r--r--keyboards/cannonkeys/tmov2/rules.mk9
-rw-r--r--keyboards/cannonkeys/tsukuyomi/rules.mk9
17 files changed, 85 insertions, 42 deletions
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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
21LAYOUTS = 60_ansi 60_tsangan_hhkb 27LAYOUTS = 60_ansi 60_tsangan_hhkb
22 28
23# Wildcard to allow APM32 MCU
24DFU_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
27OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 30OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
4# Build Options 7# Build Options
5# comment out to disable the options. 8# comment out to disable the options.
6BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 9BOOTMAGIC_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = 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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
15RGBLIGHT_ENABLE = yes 21RGBLIGHT_ENABLE = yes
16WS2812_DRIVER = spi 22WS2812_DRIVER = spi
17 23
18# Wildcard to allow APM32 MCU
19DFU_SUFFIX_ARGS = -p FFFF -v FFFF
20
21DEFAULT_FOLDER = cannonkeys/db60/rev2 24DEFAULT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
16RGBLIGHT_ENABLE = yes 22RGBLIGHT_ENABLE = yes
17WS2812_DRIVER = spi 23WS2812_DRIVER = spi
18 24
19# Wildcard to allow APM32 MCU
20DFU_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
23OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 26OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
20LAYOUTS = 60_ansi 60_tsangan_hhkb 26LAYOUTS = 60_ansi 60_tsangan_hhkb
21 27
22# Wildcard to allow APM32 MCU
23DFU_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
26OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 29OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
23OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 29OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
24
25# Wildcard to allow APM32 MCU
26DFU_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = 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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
18AUDIO_ENABLE = no # Audio output on port C6 24AUDIO_ENABLE = no # Audio output on port C6
19WS2812_DRIVER = spi 25WS2812_DRIVER = spi
20 26
21# Wildcard to allow APM32 MCU
22DFU_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
25OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 28OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
18BLUETOOTH_ENABLE = no # Enable Bluetooth 24BLUETOOTH_ENABLE = no # Enable Bluetooth
19AUDIO_ENABLE = no # Audio output 25AUDIO_ENABLE = no # Audio output
20 26
21# Wildcard to allow APM32 MCU
22DFU_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
25OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 28OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
15BACKLIGHT_ENABLE = yes 21BACKLIGHT_ENABLE = yes
16RGBLIGHT_ENABLE = no 22RGBLIGHT_ENABLE = no
17 23
18# Wildcard to allow APM32 MCU
19DFU_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
22OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 25OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
4# Wildcard to allow APM32 MCU 7# Wildcard to allow APM32 MCU
5DFU_SUFFIX_ARGS = -p FFFF -v FFFF 8DFU_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 @@
2MCU = STM32F072 2MCU = STM32F072
3BOARD = GENERIC_STM32_F072XB 3BOARD = GENERIC_STM32_F072XB
4 4
5# Bootloader selection
6BOOTLOADER = stm32-dfu
7
8# Wildcard to allow APM32 MCU
9DFU_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
26DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1 32DEFAULT_FOLDER = cannonkeys/satisfaction75/rev1
27 33
28# Wildcard to allow APM32 MCU
29DFU_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
32OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 35OPT_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
22OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 28OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
23 29
24# Wildcard to allow APM32 MCU
25DFU_SUFFIX_ARGS = -p FFFF -v FFFF
26
27LAYOUTS = 65_ansi_blocker 65_ansi_blocker_split_bs 65_ansi_blocker_tsangan 65_iso_blocker 30LAYOUTS = 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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
22OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 28OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
23
24# Wildcard to allow APM32 MCU
25DFU_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
2MCU = STM32F072 2MCU = STM32F072
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
7# Wildcard to allow APM32 MCU
8DFU_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
19AUDIO_ENABLE = no # Audio output 25AUDIO_ENABLE = no # Audio output
20WS2812_DRIVER = spi 26WS2812_DRIVER = spi
21 27
22# Wildcard to allow APM32 MCU
23DFU_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
26OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 29OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE