1
0
Fork 0

Remove bootloader listings from rules.mk (#14330)

This commit is contained in:
Ryan 2021-09-10 13:35:46 +10:00 committed by GitHub
parent 2cb9219a3e
commit 7eea780a7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
765 changed files with 34 additions and 5233 deletions

View file

@ -2,23 +2,7 @@
MCU = atmega32u4
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
ifdef TEENSY2
BOOTLOADER = halfkay
OPT_DEFS += -DATREUS_TEENSY2
ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
else
BOOTLOADER = caterina
OPT_DEFS += -DATREUS_ASTAR
ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
endif
BOOTLOADER = caterina
# Build Options
# change yes to no to disable
@ -36,9 +20,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by d
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
# upload: build
# $(ATREUS_UPLOAD_COMMAND)
# for avr upload
USB = /dev/cu.usbmodem1421