From 366d26a2efda5ed40c4c0e0d49d3ce622f44d916 Mon Sep 17 00:00:00 2001 From: yiancar Date: Mon, 6 Dec 2021 17:38:11 +0000 Subject: [PATCH] Add DFU Suffix for APM chips (#15414) --- keyboards/mnk1800s/rules.mk | 7 ++++++- keyboards/mnk50/rules.mk | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/keyboards/mnk1800s/rules.mk b/keyboards/mnk1800s/rules.mk index 3e71d4e8d7..bc2fdaccd8 100755 --- 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 index 26154419de..bc2fdaccd8 100755 --- 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.