Fixing problem of hanging upload.

This commit is contained in:
Jan Gosmann 2012-11-01 12:01:54 +01:00
parent 99890b2535
commit bc8caf8358

View file

@ -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