X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootloader.mk;h=4bcf183fb779f24d6261e898c6599546017038b0;hb=989c2094f896d32afb9f96931758513977791379;hp=f30e38dd05b5d924f078cceb2b42b4a8165ce6e8;hpb=14b7602a65dedaf51db1c9288144765d43a83a15;p=qmk_firmware.git 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) 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