enable auto-reset before programming, disable afterwards

hackerspace-green
Michael Moon 2012-01-24 14:25:28 +11:00
parent 3e575533c5
commit a991bde523
1 changed files with 2 additions and 0 deletions

View File

@ -153,7 +153,9 @@ sym: applet/$(TARGET).sym
# Program the device.
upload: applet/$(TARGET).hex
stty hup < $(PORT); true
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
stty -hup < $(PORT); true
# Display size of file.