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/instant60 | |
| 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/instant60')
| -rw-r--r-- | keyboards/cannonkeys/instant60/rules.mk | 9 |
1 files changed, 6 insertions, 3 deletions
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 |
