Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2021-06-10 06:06:03 +00:00
commit cfc7ee61c5
1 changed files with 8 additions and 4 deletions

View File

@ -92,10 +92,14 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms)
OPT_DEFS += -DBOOTLOADER_MS OPT_DEFS += -DBOOTLOADER_MS
BOOTLOADER_SIZE = 6144 BOOTLOADER_SIZE = 6144
FIRMWARE_FORMAT = bin FIRMWARE_FORMAT = bin
$(info LUFA MASS STORAGE Bootloader selected) cpfirmware: lufa_warning
$(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!) .INTERMEDIATE: lufa_warning
$(info It is extremely prone to bricking, and is only included to support existing boards.) lufa_warning: $(FIRMWARE_FORMAT)
$(info ) $(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
$(info LUFA MASS STORAGE Bootloader selected)
$(info DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!)
$(info It is extremely prone to bricking, and is only included to support existing boards.)
$(info @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@)
endif endif
ifdef BOOTLOADER_SIZE ifdef BOOTLOADER_SIZE
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE)) OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))