Add Teensy ++ 2.0 bootloader support

This commit is contained in:
Drashna Jaelre 2018-05-08 16:45:52 -07:00 committed by Jack Humbert
parent 0373c4dc9e
commit 6bd2b8ded3

View File

@ -61,8 +61,13 @@ ifeq ($(strip $(BOOTLOADER)), qmk-dfu)
endif endif
ifeq ($(strip $(BOOTLOADER)), halfkay) ifeq ($(strip $(BOOTLOADER)), halfkay)
OPT_DEFS += -DBOOTLOADER_HALFKAY OPT_DEFS += -DBOOTLOADER_HALFKAY
ifeq ($(strip $(MCU)), atmega32u4)
BOOTLOADER_SIZE = 512 BOOTLOADER_SIZE = 512
endif endif
ifeq ($(strip $(MCU)), at90usb1286)
BOOTLOADER_SIZE = 1024
endif
endif
ifeq ($(strip $(BOOTLOADER)), caterina) ifeq ($(strip $(BOOTLOADER)), caterina)
OPT_DEFS += -DBOOTLOADER_CATERINA OPT_DEFS += -DBOOTLOADER_CATERINA
BOOTLOADER_SIZE = 4096 BOOTLOADER_SIZE = 4096