Browse Source

enable auto-reset before programming, disable afterwards

Michael Moon 12 years ago
parent
commit
a991bde523
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Marlin/Makefile

+ 2
- 0
Marlin/Makefile View File

153
 
153
 
154
 # Program the device.  
154
 # Program the device.  
155
 upload: applet/$(TARGET).hex
155
 upload: applet/$(TARGET).hex
156
+	stty hup < $(PORT); true
156
 	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
157
 	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
158
+	stty -hup < $(PORT); true
157
 
159
 
158
 
160
 
159
 	# Display size of file.
161
 	# Display size of file.

Loading…
Cancel
Save