Fix typo
This commit is contained in:
parent
5010df3d8b
commit
a9e56186e0
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
ifdef TEENSY2
|
ifdef TEENSY2
|
||||||
OPT_DEFS += -DATREUS_TEENSY2
|
OPT_DEFS += -DATREUS_TEENSY2
|
||||||
ATRUES_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
|
ATREUS_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
|
||||||
else
|
else
|
||||||
OPT_DEFS += -DATREUS_ASTAR
|
OPT_DEFS += -DATREUS_ASTAR
|
||||||
OPT_DEFS += -DCATERINA_BOOTLOADER
|
OPT_DEFS += -DCATERINA_BOOTLOADER
|
||||||
ATRUES_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
|
ATREUS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \
|
||||||
avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
|
avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -79,4 +79,4 @@ UNICODE_ENABLE ?= YES # Unicode
|
||||||
USB ?= /dev/cu.usbmodem1411
|
USB ?= /dev/cu.usbmodem1411
|
||||||
|
|
||||||
upload: build
|
upload: build
|
||||||
$(ATRUES_UPLOAD_COMMAND)
|
$(ATREUS_UPLOAD_COMMAND)
|
||||||
|
|
Loading…
Reference in New Issue