Add DFU Suffix for APM chips (#15414)

This commit is contained in:
yiancar 2021-12-06 17:38:11 +00:00 committed by GitHub
parent 02618c6340
commit 366d26a2ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,12 @@
# MCU name # MCU name
MCU = STM32F072 MCU = STM32F072
# Bootloader selection
BOOTLOADER = stm32-dfu
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
# Do not put the microcontroller into power saving mode # Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating # when we get USB suspend event. We want it to keep updating
# backlight effects. # backlight effects.
@ -19,4 +25,3 @@ NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in

View file

@ -4,6 +4,9 @@ MCU = STM32F072
# Bootloader selection # Bootloader selection
BOOTLOADER = stm32-dfu BOOTLOADER = stm32-dfu
# Wildcard to allow APM32 MCU
DFU_SUFFIX_ARGS = -v FFFF -p FFFF
# Do not put the microcontroller into power saving mode # Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating # when we get USB suspend event. We want it to keep updating
# backlight effects. # backlight effects.