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
This commit is contained in:
Ryan 2021-06-08 19:48:46 +10:00 committed by GitHub
commit 9dcd03b6ca
Failed to generate hash of commit
178 changed files with 556 additions and 209 deletions

View file

@ -1,6 +1,9 @@
# MCU name
MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#

View file

@ -25,12 +25,6 @@
#define MANUFACTURER John M Daly
#define PRODUCT CO60 rev6
/* Address for jumping to bootloader on STM32 chips. */
/* It is chip dependent, the correct number can be looked up here:
* http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
*/
#define STM32_BOOTLOADER_ADDRESS 0x1FFFD800
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#

View file

@ -26,12 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER John M Daly
#define PRODUCT CO60 rev7
/* Address for jumping to bootloader on STM32 chips. */
/* It is chip dependent, the correct number can be looked up here:
* http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
*/
#define STM32_BOOTLOADER_ADDRESS 0x1FFFD800
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Use SPI for RGB underglow:
WS2812_DRIVER = spi

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
@ -15,4 +18,4 @@ NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: h
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = yes # Audio output on port C6
UNICODE_ENABLE = no # Unicode
UNICODE_ENABLE = no # Unicode

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View file

@ -1,8 +1,8 @@
# MCU name
MCU = STM32F401
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -1,8 +1,8 @@
# MCU name
MCU = STM32F411
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -1,10 +1,10 @@
# MCU name
MCU = STM32F411
# Bootloader selection
BOOTLOADER = tinyuf2
# Build Options
# change yes to no to disable
#
KEYBOARD_SHARED_EP = yes
# We want to use the tinyuf2 bootloader...
BOOTLOADER = tinyuf2

View file

@ -1,3 +1,6 @@
# MCU name
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu

View file

@ -1,6 +1,8 @@
# MCU name
MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE

View file

@ -1,12 +1,8 @@
# MCU name
MCU = STM32F401
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Options to pass to dfu-util when flashing
DFU_ARGS = -d 0483:DF11 -a 0 -s 0x08000000:leave
DFU_SUFFIX_ARGS = -v 0483 -p DF11
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -1,12 +1,8 @@
# MCU name
MCU = STM32F411
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Options to pass to dfu-util when flashing
DFU_ARGS = -d 0483:DF11 -a 0 -s 0x08000000:leave
DFU_SUFFIX_ARGS = -v 0483 -p DF11
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -1,8 +1,8 @@
# MCU name
MCU = STM32F401
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -1,8 +1,8 @@
# MCU name
MCU = STM32F411
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# change yes to no to disable
#

View file

@ -26,12 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MANUFACTURER John M Daly
#define PRODUCT SteamVan rev1
/* Address for jumping to bootloader on STM32 chips. */
/* It is chip dependent, the correct number can be looked up here:
* http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
*/
#define STM32_BOOTLOADER_ADDRESS 0x1FFFD800
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Use SPI for RGB underglow:
WS2812_DRIVER = spi

View file

@ -1,3 +1,4 @@
# MCU name
MCU = STM32F103
# Bootloader selection

View file

@ -2,6 +2,9 @@
MCU = STM32F303
BOARD = QMK_PROTON_C
# Bootloader selection
BOOTLOADER = stm32-dfu
# Build Options
# comment out to disable the options.
#

View file

@ -1,3 +1,4 @@
# MCU name
MCU = STM32F103
# Bootloader selection