diff options
| author | Sudar <sudar@sudarmuthu.com> | 2013-07-02 08:41:19 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2013-07-02 21:48:33 +0530 |
| commit | 5abf12bdb2fa131e840d89a09fd11e8da0e2f433 (patch) | |
| tree | 57bf716b5c76496ce5fd81a82f042b2a8325341f /arduino-mk/Arduino.mk | |
| parent | 8a2e251e95205c6501932bf167fc763b1a5b574c (diff) | |
Move wait-for-reconnection logic inside ard-reset-arduino
When a Leonardo based board is reset, the port disappears and we need to
wait till it comes back.
Earlier this logic was handled by a separate shell script. Now the logic
is moved inside the ard-reset-arduino perl script. This is done to
reduce the number of binaries that are needed by the makefile.
Fix #95
Diffstat (limited to 'arduino-mk/Arduino.mk')
| -rw-r--r-- | arduino-mk/Arduino.mk | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 12ad2f6..2fb9e3e 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -468,15 +468,6 @@ ifndef RESET_CMD endif endif -ifndef WAIT_CONNECTION_CMD - ifdef LEO_RESET - WAIT_CONNECTION_CMD = \ - $(ARDMK_PATH)/wait-connection-leonardo $(call get_arduino_port) - else - WAIT_CONNECTION_CMD = - endif -endif - ifeq ($(BOARD_TAG),leonardo) ERROR_ON_LEONARDO = $(error On leonardo, raw_xxx operation is not supported) else @@ -1024,7 +1015,6 @@ raw_eeprom: $(TARGET_HEX) verify_size reset: $(call arduino_output,Resetting Arduino...) $(RESET_CMD) - $(WAIT_CONNECTION_CMD) # 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 |
