diff options
| author | Jan Gosmann <jan@hyper-world.de> | 2012-11-01 12:01:54 +0100 |
|---|---|---|
| committer | Jan Gosmann <jan@hyper-world.de> | 2012-11-01 12:03:32 +0100 |
| commit | bc8caf8358dfb1c87bcbdef107fe5a7d74b37c4a (patch) | |
| tree | 814b0767e3c289f001740cc433df43b67b7cb781 | |
| parent | 99890b253540f3ea0f2706ed4c3a7b1f15549bdc (diff) | |
Fixing problem of hanging upload.
| -rw-r--r-- | arduino-mk/Arduino.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 8fc8e5c..84d6573 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -848,6 +848,8 @@ raw_upload: $(TARGET_HEX) reset: $(RESET_CMD) $(ARD_PORT) + sleep 1 # If avrdude is called to early after the reset, the upload may + # hang. # stty on MacOS likes -F, but on Debian it likes -f redirecting # stdin/out appears to work but generates a spurious error on MacOS at |
