4 binSRC=$( cat "$TMP" | grep Linking | sed -e 's/Linking //g' )
7 serialPort=$(cat "$TMP" | grep "opening port" | awk '{split($0,a," "); print a[3]}')
9 serialPort=/dev/ttyUSB0
12 echo "Serial: $serialPort"
15 if cat "$TMP" | grep -q 'error'; then
18 if [ "$1" != "noserial" ]; then
20 echo "Connecting $serialPort"
22 stty -F $serialPort cs8 cstopb -ixon raw speed 115200
29 echo "Serial terminal omited"