Skip to content

Commit

Permalink
Add dire message about LUFA mass storage bootloader (qmk#13014)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and nhongooi committed Dec 5, 2021
1 parent 75fbdbc commit bfb245d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ ifeq ($(strip $(BOOTLOADER)), USBasp)
BOOTLOADER_SIZE = 4096
endif
ifeq ($(strip $(BOOTLOADER)), lufa-ms)
# DO NOT USE THIS BOOTLOADER IN NEW PROJECTS!
# It is extremely prone to bricking, and is only included to support existing boards.
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 )
endif
ifdef BOOTLOADER_SIZE
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))
Expand Down

0 comments on commit bfb245d

Please sign in to comment.