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 /keyboards/cannonkeys | |
| 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
Diffstat (limited to 'keyboards/cannonkeys')
| -rw-r--r-- | keyboards/cannonkeys/an_c/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/atlas/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/cannonkeys/chimera65/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/cannonkeys/db60/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/devastatingtkl/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/instant60/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/instant65/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/iron165/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/cannonkeys/obliterated75/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/onyx/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/rekt1800/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/sagittarius/rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/cannonkeys/satisfaction75/bootloader_defs.h | 5 | ||||
| -rw-r--r-- | keyboards/cannonkeys/satisfaction75/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/savage65/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/tmov2/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/cannonkeys/tsukuyomi/rules.mk | 9 |
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 |
| 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 |
