diff options
author | Drashna Jaelre <drashna@live.com> | 2018-05-08 16:45:52 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-05-08 20:08:17 -0400 |
commit | 6bd2b8ded3d1324bfb3e29e7e48f440835e466cd (patch) | |
tree | a6077ffdfaf327742835f62a92fc6cca956d3ad1 /bootloader.mk | |
parent | 0373c4dc9e63c5b2d82e00e20ba13f7a7cc55812 (diff) | |
download | qmk_firmware-6bd2b8ded3d1324bfb3e29e7e48f440835e466cd.tar.gz qmk_firmware-6bd2b8ded3d1324bfb3e29e7e48f440835e466cd.zip |
Add Teensy ++ 2.0 bootloader support
Diffstat (limited to 'bootloader.mk')
-rw-r--r-- | bootloader.mk | 7 |
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) | |||
61 | endif | 61 | endif |
62 | ifeq ($(strip $(BOOTLOADER)), halfkay) | 62 | ifeq ($(strip $(BOOTLOADER)), halfkay) |
63 | OPT_DEFS += -DBOOTLOADER_HALFKAY | 63 | OPT_DEFS += -DBOOTLOADER_HALFKAY |
64 | BOOTLOADER_SIZE = 512 | 64 | ifeq ($(strip $(MCU)), atmega32u4) |
65 | BOOTLOADER_SIZE = 512 | ||
66 | endif | ||
67 | ifeq ($(strip $(MCU)), at90usb1286) | ||
68 | BOOTLOADER_SIZE = 1024 | ||
69 | endif | ||
65 | endif | 70 | endif |
66 | ifeq ($(strip $(BOOTLOADER)), caterina) | 71 | ifeq ($(strip $(BOOTLOADER)), caterina) |
67 | OPT_DEFS += -DBOOTLOADER_CATERINA | 72 | OPT_DEFS += -DBOOTLOADER_CATERINA |