aboutsummaryrefslogtreecommitdiff
path: root/keyboards/chavdai40
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/chavdai40
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/chavdai40')
-rw-r--r--keyboards/chavdai40/bootloader_defs.h5
-rw-r--r--keyboards/chavdai40/rev1/rules.mk5
-rw-r--r--keyboards/chavdai40/rev2/rules.mk5
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
2MCU = STM32F042 2MCU = STM32F042
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
4# Build Options 7# Build Options
5# change yes to no to disable 8# change yes to no to disable
6BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 9BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
@@ -15,4 +18,4 @@ NKRO_ENABLE = no # USB Nkey Rollover
15BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 18BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
16RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 19RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
17BLUETOOTH_ENABLE = no # Enable Bluetooth 20BLUETOOTH_ENABLE = no # Enable Bluetooth
18AUDIO_ENABLE = no # Audio output \ No newline at end of file 21AUDIO_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
2MCU = STM32F042 2MCU = STM32F042
3 3
4# Bootloader selection
5BOOTLOADER = stm32-dfu
6
4# Build Options 7# Build Options
5# change yes to no to disable 8# change yes to no to disable
6BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration 9BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
@@ -15,4 +18,4 @@ NKRO_ENABLE = no # USB Nkey Rollover
15BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality 18BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
16RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 19RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
17BLUETOOTH_ENABLE = no # Enable Bluetooth 20BLUETOOTH_ENABLE = no # Enable Bluetooth
18AUDIO_ENABLE = no # Audio output \ No newline at end of file 21AUDIO_ENABLE = no # Audio output