From 6bd2b8ded3d1324bfb3e29e7e48f440835e466cd Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Tue, 8 May 2018 16:45:52 -0700 Subject: Add Teensy ++ 2.0 bootloader support --- bootloader.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3