Commit 1c6a9983 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Sensible macos avrdude port fallback

parent 87c9c0f3
......@@ -87,6 +87,7 @@ clean:
rm -rf *.o $(PRG).elf *.eps *.png *.pdf *.bak
rm -rf *.lst *.map $(EXTRA_CLEAN_FILES)
AVRDUDE_PORT ?= /dev/tty.usbserial-*
upload:
avrdude -p m328p -b 57600 -c arduino -P $(AVRDUDE_PORT) -U flash:w:$(PRG).hex:i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment