mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Add LUFA mass storage BOOTLOADER
"support" (#7729)
This commit is contained in:
parent
64263bbb02
commit
559ef21563
|
@ -82,6 +82,13 @@ ifeq ($(strip $(BOOTLOADER)), USBasp)
|
||||||
OPT_DEFS += -DBOOTLOADER_USBASP
|
OPT_DEFS += -DBOOTLOADER_USBASP
|
||||||
BOOTLOADER_SIZE = 4096
|
BOOTLOADER_SIZE = 4096
|
||||||
endif
|
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
|
ifdef BOOTLOADER_SIZE
|
||||||
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))
|
OPT_DEFS += -DBOOTLOADER_SIZE=$(strip $(BOOTLOADER_SIZE))
|
||||||
|
|
|
@ -9,10 +9,7 @@ MCU = atmega32u4
|
||||||
# QMK DFU qmk-dfu
|
# QMK DFU qmk-dfu
|
||||||
# ATmega32A bootloadHID
|
# ATmega32A bootloadHID
|
||||||
# ATmega328P USBasp
|
# ATmega328P USBasp
|
||||||
BOOTLOADER = atmel-dfu # actually lufa-ms
|
BOOTLOADER = lufa-ms
|
||||||
|
|
||||||
# Mass storage bootloader on the COD67 uses bin files
|
|
||||||
FIRMWARE_FORMAT = bin
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# change yes to no to disable
|
# change yes to no to disable
|
||||||
|
|
|
@ -9,10 +9,7 @@ MCU = atmega32u4
|
||||||
# QMK DFU qmk-dfu
|
# QMK DFU qmk-dfu
|
||||||
# ATmega32A bootloadHID
|
# ATmega32A bootloadHID
|
||||||
# ATmega328P USBasp
|
# ATmega328P USBasp
|
||||||
BOOTLOADER = atmel-dfu # actually lufa-ms
|
BOOTLOADER = lufa-ms
|
||||||
|
|
||||||
# Mass storage bootloader on the tada68 uses bin files
|
|
||||||
FIRMWARE_FORMAT = bin
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# comment out to disable the options.
|
# comment out to disable the options.
|
||||||
|
|
Loading…
Reference in a new issue