diff options
author | fauxpark <fauxpark@gmail.com> | 2019-12-30 07:53:23 +1100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | 7b8d56d6d51614baabfeb1a044d01b1a28a3385a (patch) | |
tree | d4b27492031acea695dff2c6c2f0fd454d99e099 | |
parent | 138f98123800a94c1af874ee05ab3df8cebab1f2 (diff) |
Add LUFA mass storage `BOOTLOADER` "support" (#7729)
-rw-r--r-- | bootloader.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bootloader.mk b/bootloader.mk index d615533947..e516e9ff9f 100644 --- a/bootloader.mk +++ b/bootloader.mk @@ -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)) |