chiark / gitweb /
enable auto-reset before programming, disable afterwards
authorMichael Moon <triffid.hunter@gmail.com>
Tue, 24 Jan 2012 03:25:28 +0000 (14:25 +1100)
committerMichael Moon <triffid.hunter@gmail.com>
Tue, 24 Jan 2012 03:25:28 +0000 (14:25 +1100)
Marlin/Makefile

index 1e847a37b8e4710709d79634fb8c51be20dc5c4e..fdff2194f938f267a4eca821ac56dddb6fc9db04 100644 (file)
@@ -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.