summaryrefslogtreecommitdiff
path: root/keyboards/xiaomi/mk02
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xiaomi/mk02')
-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