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,7 +153,9 @@ sym: applet/$(TARGET).sym
153 153
 
154 154
 # Program the device.  
155 155
 upload: applet/$(TARGET).hex
156
+	stty hup < $(PORT); true
156 157
 	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
158
+	stty -hup < $(PORT); true
157 159
 
158 160
 
159 161
 	# Display size of file.

Loading…
Cancel
Save