]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Add Teensy ++ 2.0 bootloader support
authorDrashna Jaelre <drashna@live.com>
Tue, 8 May 2018 23:45:52 +0000 (16:45 -0700)
committerJack Humbert <jack.humb@gmail.com>
Wed, 9 May 2018 00:08:17 +0000 (20:08 -0400)
bootloader.mk

index f30e38dd05b5d924f078cceb2b42b4a8165ce6e8..4bcf183fb779f24d6261e898c6599546017038b0 100644 (file)
@@ -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