aboutsummaryrefslogtreecommitdiff
path: root/tools/avr_codegen/Makefile
diff options
context:
space:
mode:
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