Browse Source

Add LUFA mass storage `BOOTLOADER` "support" (#7729)

pull/7739/head 0.7.105
fauxpark 4 years ago
committed by Joel Challis
parent
commit
559ef21563
3 changed files with 9 additions and 8 deletions
  1. +7
    -0
      bootloader.mk
  2. +1
    -4
      keyboards/gray_studio/cod67/rules.mk
  3. +1
    -4
      keyboards/tada68/rules.mk

+ 7
- 0
bootloader.mk View File

@ -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))


+ 1
- 4
keyboards/gray_studio/cod67/rules.mk View File

@ -9,10 +9,7 @@ MCU = atmega32u4
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu # actually lufa-ms
# Mass storage bootloader on the COD67 uses bin files
FIRMWARE_FORMAT = bin
BOOTLOADER = lufa-ms
# Build Options
# change yes to no to disable


+ 1
- 4
keyboards/tada68/rules.mk View File

@ -9,10 +9,7 @@ MCU = atmega32u4
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu # actually lufa-ms
# Mass storage bootloader on the tada68 uses bin files
FIRMWARE_FORMAT = bin
BOOTLOADER = lufa-ms
# Build Options
# comment out to disable the options.


Loading…
Cancel
Save