From 559ef215638e82de75e3e9221baf4909990f4f53 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 30 Dec 2019 07:53:23 +1100 Subject: Add LUFA mass storage `BOOTLOADER` "support" (#7729) --- bootloader.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootloader.mk') 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)) -- cgit v1.2.3