commit 366d26a2efda5ed40c4c0e0d49d3ce622f44d916
parent 02618c634015c2f396e7a5c3b642e1d2e5c71b8e
Author: yiancar <yiangosyiangou@cytanet.com.cy>
Date: Mon, 6 Dec 2021 17:38:11 +0000
Add DFU Suffix for APM chips (#15414)
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/keyboards/mnk1800s/rules.mk b/keyboards/mnk1800s/rules.mk
@@ -1,6 +1,12 @@
# MCU name
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
# when we get USB suspend event. We want it to keep updating
# backlight effects.
@@ -19,4 +25,3 @@ NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
-NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
diff --git a/keyboards/mnk50/rules.mk b/keyboards/mnk50/rules.mk
@@ -4,6 +4,9 @@ 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
# when we get USB suspend event. We want it to keep updating
# backlight effects.