summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-05-27 09:20:47 -0700
committerGitHub <noreply@github.com>2021-05-27 09:20:47 -0700
commitb769b362027faa10cf5b920be709cf69587a4c97 (patch)
tree430654d2d88473eb2799fded7d1aecab6d46696e
parent879185a214600635177ff54d83d0a839abda656a (diff)
Add dire message about LUFA mass storage bootloader (#13014)
-rw-r--r--bootloader.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootloader.mk b/bootloader.mk
index ead52cbe3d..d130dbbcca 100644
--- a/bootloader.mk
+++ b/bootloader.mk
@@ -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))