enable auto-reset before programming, disable afterwards
This commit is contained in:
parent
3e575533c5
commit
a991bde523
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Reference in a new issue