diff options
author | Ryan <fauxpark@gmail.com> | 2020-08-12 12:28:20 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-12 12:28:20 +1000 |
commit | e2d4cd1a41c667da186891e3dbaf535c6b0717df (patch) | |
tree | 8ae44fc6f6b80efb522ca523862ce511eab1161e /bootloader.mk | |
parent | 98e1e18f6bcae6977ef56747243158eb94c6bd69 (diff) |
Add Kiibohd bootloader type to bootloader.mk (#9908)
Diffstat (limited to 'bootloader.mk')
-rw-r--r-- | bootloader.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk index e516e9ff9f..c22291e435 100644 --- a/bootloader.mk +++ b/bootloader.mk @@ -27,6 +27,7 @@ # qmk-dfu QMK DFU (LUFA + blinkenlight) # bootloadHID HIDBootFlash compatible (ATmega32A) # USBasp USBaspLoader (ATmega328P) +# kiibohd Input:Club Kiibohd bootloader (only used on their boards) # # BOOTLOADER_SIZE can still be defined manually, but it's recommended # you add any possible configuration to this list @@ -89,6 +90,18 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms) BOOTLOADER_SIZE = 6144 FIRMWARE_FORMAT = bin endif +ifeq ($(strip $(BOOTLOADER)), kiibohd) + OPT_DEFS += -DBOOTLOADER_KIIBOHD + ifeq ($(strip $(MCU)), MK20DX128) + MCU_LDSCRIPT = MK20DX128BLDR4 + endif + ifeq ($(strip $(MCU)), MK20DX256) + MCU_LDSCRIPT = MK20DX256BLDR8 + endif + + DFU_ARGS = -d 1C11:B007 + DFU_SUFFIX_ARGS = -v 1C11 -p B007 +endif ifdef BOOTLOADER_SIZE OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) |