enable auto-reset before programming, disable afterwards

This commit is contained in:
Michael Moon 2012-01-24 14:25:28 +11:00
parent 3e575533c5
commit a991bde523

View file

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