Skip to content

Commit

Permalink
Add LUFA mass storage BOOTLOADER "support" (qmk#7729)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and fdidron committed Jan 8, 2020
1 parent 138f981 commit 7b8d56d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bootloader.mk
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ ifeq ($(strip $(BOOTLOADER)), USBasp)
OPT_DEFS += -DBOOTLOADER_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
endif

ifdef BOOTLOADER_SIZE
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))
Expand Down

0 comments on commit 7b8d56d

Please sign in to comment.