aboutsummaryrefslogtreecommitdiff
path: root/bin/wait-connection-leonardo
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2013-07-02 08:41:19 +0530
committerSudar <sudar@sudarmuthu.com>2013-07-02 21:48:33 +0530
commit5abf12bdb2fa131e840d89a09fd11e8da0e2f433 (patch)
tree57bf716b5c76496ce5fd81a82f042b2a8325341f /bin/wait-connection-leonardo
parent8a2e251e95205c6501932bf167fc763b1a5b574c (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 'bin/wait-connection-leonardo')
-rwxr-xr-xbin/wait-connection-leonardo15
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/wait-connection-leonardo b/bin/wait-connection-leonardo
deleted file mode 100755
index 6a594d2..0000000
--- a/bin/wait-connection-leonardo
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-while [ ! -e $1 ]
-do
- echo Waiting connection at $1
- sleep 0.2
-done
-
-sleep 1
-# necessary for me...
-# /dev/ttyACM0 used to disappear after the reset
-# but no longer now. How can I tell whether the
-# connection is ready?
-
-echo Connection Established