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) | |
| download | qmk_firmware-e2d4cd1a41c667da186891e3dbaf535c6b0717df.tar.gz qmk_firmware-e2d4cd1a41c667da186891e3dbaf535c6b0717df.zip | |
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 e516e9ff9..c22291e43 100644 --- a/bootloader.mk +++ b/bootloader.mk | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | # qmk-dfu QMK DFU (LUFA + blinkenlight) | 27 | # qmk-dfu QMK DFU (LUFA + blinkenlight) |
| 28 | # bootloadHID HIDBootFlash compatible (ATmega32A) | 28 | # bootloadHID HIDBootFlash compatible (ATmega32A) |
| 29 | # USBasp USBaspLoader (ATmega328P) | 29 | # USBasp USBaspLoader (ATmega328P) |
| 30 | # kiibohd Input:Club Kiibohd bootloader (only used on their boards) | ||
| 30 | # | 31 | # |
| 31 | # BOOTLOADER_SIZE can still be defined manually, but it's recommended | 32 | # BOOTLOADER_SIZE can still be defined manually, but it's recommended |
| 32 | # you add any possible configuration to this list | 33 | # you add any possible configuration to this list |
| @@ -89,6 +90,18 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms) | |||
| 89 | BOOTLOADER_SIZE = 6144 | 90 | BOOTLOADER_SIZE = 6144 |
| 90 | FIRMWARE_FORMAT = bin | 91 | FIRMWARE_FORMAT = bin |
| 91 | endif | 92 | endif |
| 93 | ifeq ($(strip $(BOOTLOADER)), kiibohd) | ||
| 94 | OPT_DEFS += -DBOOTLOADER_KIIBOHD | ||
| 95 | ifeq ($(strip $(MCU)), MK20DX128) | ||
| 96 | MCU_LDSCRIPT = MK20DX128BLDR4 | ||
| 97 | endif | ||
| 98 | ifeq ($(strip $(MCU)), MK20DX256) | ||
| 99 | MCU_LDSCRIPT = MK20DX256BLDR8 | ||
| 100 | endif | ||
| 101 | |||
| 102 | DFU_ARGS = -d 1C11:B007 | ||
| 103 | DFU_SUFFIX_ARGS = -v 1C11 -p B007 | ||
| 104 | endif | ||
| 92 | 105 | ||
| 93 | ifdef BOOTLOADER_SIZE | 106 | ifdef BOOTLOADER_SIZE |
| 94 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) | 107 | OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) |
