This commit is contained in:
Tristan Krause 2019-06-25 10:04:59 +02:00
parent 0cdf4f17e1
commit 4f0166f83c
3 changed files with 2 additions and 3 deletions

View file

@ -49,7 +49,7 @@ checkfuses:
upload: b15f checkfuses
@echo "Uploading hex file..."
avrdude -Pusb -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(HEX)
avrdude -v -Pusb -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(HEX)
.cpp.o:
$(COMPILE) -c $< -o $@

View file

@ -1 +0,0 @@
avrdude -c "$1" -Pusb -p m16 2>&1 | grep 'Device signature =' | awk -F 'probably ' '{print $2}' | head -c-2