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/chavdai40 | |
| 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/chavdai40')
| -rw-r--r-- | keyboards/chavdai40/bootloader_defs.h | 5 | ||||
| -rw-r--r-- | keyboards/chavdai40/rev1/rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/chavdai40/rev2/rules.mk | 5 |
3 files changed, 8 insertions, 7 deletions
diff --git a/keyboards/chavdai40/bootloader_defs.h b/keyboards/chavdai40/bootloader_defs.h deleted file mode 100644 index 6b218f7bd..000000000 --- a/keyboards/chavdai40/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: | ||
| 3 | * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf | ||
| 4 | */ | ||
| 5 | #define STM32_BOOTLOADER_ADDRESS 0x1FFFC400 \ No newline at end of file | ||
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 |
