Skip to content

Commit

Permalink
Slightly more prominent LUFA Mass-storage bootloader warning. (qmk#13163
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tzarc authored and nhongooi committed Dec 5, 2021
1 parent fcccf86 commit b4e7062
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,14 @@ ifeq ($(strip $(BOOTLOADER)), lufa-ms)
OPT_DEFS += -DBOOTLOADER_MS
BOOTLOADER_SIZE = 6144
FIRMWARE_FORMAT = bin
$(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 )
cpfirmware: lufa_warning
.INTERMEDIATE: lufa_warning
lufa_warning: $(FIRMWARE_FORMAT)
$(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
ifdef BOOTLOADER_SIZE
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))
Expand Down

0 comments on commit b4e7062

Please sign in to comment.