diff options
author | Drashna Jaelre <drashna@live.com> | 2021-10-11 06:30:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 14:30:17 +0100 |
commit | 5640b6cd77392222547f62c0fda1313e5e4a4ed3 (patch) | |
tree | fc611c418383bbe78cb0a173b2f3b32710e61db3 | |
parent | a7313992dee7d1d96555b575ee7f0aaa9e7b59ce (diff) |
Allow AVR Bootloader size to be configurable (#14783)0.14.23
* Allow AVR Bootloader size to be configurable
* revert changes to atmel dfu
-rw-r--r-- | bootloader.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bootloader.mk b/bootloader.mk index 2bcca6bb81..5ba118fb44 100644 --- a/bootloader.mk +++ b/bootloader.mk @@ -52,26 +52,26 @@ ifeq ($(strip $(BOOTLOADER)), lufa-dfu) OPT_DEFS += -DBOOTLOADER_LUFA_DFU OPT_DEFS += -DBOOTLOADER_DFU ifneq (,$(filter $(MCU), at90usb162 atmega16u2 atmega32u2 atmega16u4 atmega32u4 at90usb646 at90usb647)) - BOOTLOADER_SIZE = 4096 + BOOTLOADER_SIZE ?= 4096 endif ifneq (,$(filter $(MCU), at90usb1286 at90usb1287)) - BOOTLOADER_SIZE = 8192 + BOOTLOADER_SIZE ?= 8192 endif endif ifeq ($(strip $(BOOTLOADER)), qmk-dfu) OPT_DEFS += -DBOOTLOADER_QMK_DFU OPT_DEFS += -DBOOTLOADER_DFU ifneq (,$(filter $(MCU), at90usb162 atmega16u2 atmega32u2 atmega16u4 atmega32u4 at90usb646 at90usb647)) - BOOTLOADER_SIZE = 4096 + BOOTLOADER_SIZE ?= 4096 endif ifneq (,$(filter $(MCU), at90usb1286 at90usb1287)) - BOOTLOADER_SIZE = 8192 + BOOTLOADER_SIZE ?= 8192 endif endif ifeq ($(strip $(BOOTLOADER)), qmk-hid) OPT_DEFS += -DBOOTLOADER_QMK_HID OPT_DEFS += -DBOOTLOADER_HID - BOOTLOADER_SIZE = 4096 + BOOTLOADER_SIZE ?= 4096 endif ifeq ($(strip $(BOOTLOADER)), halfkay) OPT_DEFS += -DBOOTLOADER_HALFKAY |