aboutsummaryrefslogtreecommitdiff
path: root/tools/avr_codegen/Makefile
diff options
context:
space:
mode:
authorCharles Lohr <lohr85@gmail.com>2016-12-05 21:27:57 -0500
committerCharles Lohr <lohr85@gmail.com>2016-12-05 21:27:57 -0500
commit110e71c2334950b0fcdd2f90bff595f55390666d (patch)
treea77dfa7cb83f13246218ef00c99def0638245269 /tools/avr_codegen/Makefile
parentced3b89795a5d3698da27749339670bd4da121c7 (diff)
downloadlibsurvive-110e71c2334950b0fcdd2f90bff595f55390666d.tar.gz
libsurvive-110e71c2334950b0fcdd2f90bff595f55390666d.tar.bz2
Update with changes from livestream.
Diffstat (limited to 'tools/avr_codegen/Makefile')
-rw-r--r--tools/avr_codegen/Makefile3
1 files changed, 2 insertions, 1 deletions
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