summaryrefslogtreecommitdiffstats
path: root/bootloader.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-05-09 01:45:52 +0200
committerJack Humbert <jack.humb@gmail.com>2018-05-09 02:08:17 +0200
commit6bd2b8ded3d1324bfb3e29e7e48f440835e466cd (patch)
treea6077ffdfaf327742835f62a92fc6cca956d3ad1 /bootloader.mk
parent0373c4dc9e63c5b2d82e00e20ba13f7a7cc55812 (diff)
downloadqmk_firmware-6bd2b8ded3d1324bfb3e29e7e48f440835e466cd.tar.gz
qmk_firmware-6bd2b8ded3d1324bfb3e29e7e48f440835e466cd.tar.xz
Add Teensy ++ 2.0 bootloader support
Diffstat (limited to 'bootloader.mk')
-rw-r--r--bootloader.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootloader.mk b/bootloader.mk
index f30e38dd0..4bcf183fb 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -61,7 +61,12 @@ ifeq ($(strip $(BOOTLOADER)), qmk-dfu)
endif
ifeq ($(strip $(BOOTLOADER)), halfkay)
OPT_DEFS += -DBOOTLOADER_HALFKAY
- BOOTLOADER_SIZE = 512
+ ifeq ($(strip $(MCU)), atmega32u4)
+ BOOTLOADER_SIZE = 512
+ endif
+ ifeq ($(strip $(MCU)), at90usb1286)
+ BOOTLOADER_SIZE = 1024
+ endif
endif
ifeq ($(strip $(BOOTLOADER)), caterina)
OPT_DEFS += -DBOOTLOADER_CATERINA