Browse Source

Add Teensy ++ 2.0 bootloader support

pjones-keymap
Drashna Jaelre 1 year ago
parent
commit
6bd2b8ded3
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      bootloader.mk

+ 6
- 1
bootloader.mk View File

@@ -61,7 +61,12 @@ ifeq ($(strip $(BOOTLOADER)), qmk-dfu)
61 61
 endif
62 62
 ifeq ($(strip $(BOOTLOADER)), halfkay)
63 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 70
 endif
66 71
 ifeq ($(strip $(BOOTLOADER)), caterina)
67 72
     OPT_DEFS += -DBOOTLOADER_CATERINA

Loading…
Cancel
Save