From 110e71c2334950b0fcdd2f90bff595f55390666d Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Mon, 5 Dec 2016 21:27:57 -0500 Subject: Update with changes from livestream. --- tools/avr_codegen/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/avr_codegen/Makefile') diff --git a/tools/avr_codegen/Makefile b/tools/avr_codegen/Makefile index fc2c712..e7b8673 100644 --- a/tools/avr_codegen/Makefile +++ b/tools/avr_codegen/Makefile @@ -1,5 +1,5 @@ -all : test.hex burn test.lst +all : test.hex test.lst PART=attiny85 PROGPART=t85 @@ -10,6 +10,7 @@ CC=avr-gcc test.hex : test.elf avr-objcopy -j .text -j .data -O ihex test.elf test.hex + avrdude -c usbtiny -p $(PROGPART) -V -U flash:w:test.hex test.elf : test.c avr-gcc -I -g $(CFLAGS) -mmcu=$(PART) -Wl,-Map,test.map -o $@ test.c -L/usr/lib/binutils/avr/2.18 -- cgit v1.2.3