From: Michael Moon Date: Tue, 24 Jan 2012 03:25:28 +0000 (+1100) Subject: enable auto-reset before programming, disable afterwards X-Git-Tag: iwj-success-2012-07-29~108^2~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a991bde523fdd2952d156b457ea7bb6cecdd4bcb;p=marlin.git enable auto-reset before programming, disable afterwards --- diff --git a/Marlin/Makefile b/Marlin/Makefile index 1e847a3..fdff219 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -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.