aboutsummaryrefslogtreecommitdiff
path: root/bootloader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader.mk')
-rw-r--r--bootloader.mk7
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)
61endif 61endif
62ifeq ($(strip $(BOOTLOADER)), halfkay) 62ifeq ($(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
65endif 70endif
66ifeq ($(strip $(BOOTLOADER)), caterina) 71ifeq ($(strip $(BOOTLOADER)), caterina)
67 OPT_DEFS += -DBOOTLOADER_CATERINA 72 OPT_DEFS += -DBOOTLOADER_CATERINA