summaryrefslogtreecommitdiff
path: root/bootloader.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-24 23:00:57 -0700
committerGitHub <noreply@github.com>2021-07-24 23:00:57 -0700
commit71e9f8fc11f617278497611e169bf2ddccd2211c (patch)
tree7d4926faf648dc556f28ae7af284ce5eade61cf6 /bootloader.mk
parenta030950fd6754fae361845e872a4855032d6f666 (diff)
Update LUFA (18-07-2021) and add QMK-HID Bootloader support (#13588)
Co-authored-by: Ryan <fauxpark@gmail.com>
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 4f2d69d998..abdfd20fd0 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -26,6 +26,7 @@
# atmel-dfu Atmel factory DFU
# lufa-dfu LUFA DFU
# qmk-dfu QMK DFU (LUFA + blinkenlight)
+# qmk-hid QMK HID (LUFA + blinkenlight)
# bootloadHID HIDBootFlash compatible (ATmega32A)
# USBasp USBaspLoader (ATmega328P)
# ARM:
@@ -67,6 +68,11 @@ ifeq ($(strip $(BOOTLOADER)), qmk-dfu)
BOOTLOADER_SIZE = 8192
endif
endif
+ifeq ($(strip $(BOOTLOADER)), qmk-hid)
+ OPT_DEFS += -DBOOTLOADER_QMK_HID
+ OPT_DEFS += -DBOOTLOADER_HID
+ BOOTLOADER_SIZE = 4096
+endif
ifeq ($(strip $(BOOTLOADER)), halfkay)
OPT_DEFS += -DBOOTLOADER_HALFKAY
ifeq ($(strip $(MCU)), atmega32u4)