summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-02-07 14:09:21 +1100
committerGitHub <noreply@github.com>2022-02-06 19:09:21 -0800
commita86d6fffc950242f412e05a6a0aed8beede01ba4 (patch)
treec99bd067b88e74458677df79a58bd80c01003aa3 /keyboards/xiaomi
parent53a73066828bb528610e8d02bd4a6f008c9c33d7 (diff)
downloadqmk_firmware-a86d6fffc950242f412e05a6a0aed8beede01ba4.tar.gz
qmk_firmware-a86d6fffc950242f412e05a6a0aed8beede01ba4.zip
Fixup bootloaders. (#16256)
Diffstat (limited to 'keyboards/xiaomi')
-rw-r--r--keyboards/xiaomi/mk02/rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/xiaomi/mk02/rules.mk b/keyboards/xiaomi/mk02/rules.mk
index 9d6d62c394..c20d67dd89 100644
--- a/keyboards/xiaomi/mk02/rules.mk
+++ b/keyboards/xiaomi/mk02/rules.mk
@@ -3,6 +3,9 @@ MCU = STM32F072
BOARD = ST_STM32F072B_DISCOVERY
MCU_LDSCRIPT = STM32F072_0x2000_bootloader
+# Bootloader selection
+BOOTLOADER = custom
+
DFU_ARGS = -d 0483:df11 -a 0 -s 0x08002000:leave
DFU_SUFFIX_ARGS = -v 0483 -p DF11