Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
24418c058This file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
set -euo pipefail
SERIAL=/dev/serial/by-id/usb-xythobuz_Trackball_*
echo -n Waiting for serial port to appear
until [ -e $SERIAL ]
do
echo -n .
sleep 1
done
echo
echo Opening picocom terminal
echo "[C-a] [C-x] to exit"
echo
picocom -q --omap crcrlf $SERIAL