aboutsummaryrefslogtreecommitdiff
path: root/bootloader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.mk')
-rw-r--r--bootloader.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk
index 4f2d69d99..abdfd20fd 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -26,6 +26,7 @@
26# atmel-dfu Atmel factory DFU 26# atmel-dfu Atmel factory DFU
27# lufa-dfu LUFA DFU 27# lufa-dfu LUFA DFU
28# qmk-dfu QMK DFU (LUFA + blinkenlight) 28# qmk-dfu QMK DFU (LUFA + blinkenlight)
29# qmk-hid QMK HID (LUFA + blinkenlight)
29# bootloadHID HIDBootFlash compatible (ATmega32A) 30# bootloadHID HIDBootFlash compatible (ATmega32A)
30# USBasp USBaspLoader (ATmega328P) 31# USBasp USBaspLoader (ATmega328P)
31# ARM: 32# ARM:
@@ -67,6 +68,11 @@ ifeq ($(strip $(BOOTLOADER)), qmk-dfu)
67 BOOTLOADER_SIZE = 8192 68 BOOTLOADER_SIZE = 8192
68 endif 69 endif
69endif 70endif
71ifeq ($(strip $(BOOTLOADER)), qmk-hid)
72 OPT_DEFS += -DBOOTLOADER_QMK_HID
73 OPT_DEFS += -DBOOTLOADER_HID
74 BOOTLOADER_SIZE = 4096
75endif
70ifeq ($(strip $(BOOTLOADER)), halfkay) 76ifeq ($(strip $(BOOTLOADER)), halfkay)
71 OPT_DEFS += -DBOOTLOADER_HALFKAY 77 OPT_DEFS += -DBOOTLOADER_HALFKAY
72 ifeq ($(strip $(MCU)), atmega32u4) 78 ifeq ($(strip $(MCU)), atmega32u4)