From a991bde523fdd2952d156b457ea7bb6cecdd4bcb Mon Sep 17 00:00:00 2001
From: Michael Moon <triffid.hunter@gmail.com>
Date: Tue, 24 Jan 2012 14:25:28 +1100
Subject: [PATCH] enable auto-reset before programming, disable afterwards

---
 Marlin/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Marlin/Makefile b/Marlin/Makefile
index 1e847a37b8..fdff2194f9 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.
-- 
GitLab