Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

debug.sh 281B

123456789101112131415161718
  1. #!/bin/bash
  2. set -euo pipefail
  3. SERIAL=/dev/serial/by-id/usb-xythobuz_Trackball_*
  4. echo -n Waiting for serial port to appear
  5. until [ -e $SERIAL ]
  6. do
  7. echo -n .
  8. sleep 1
  9. done
  10. echo
  11. echo Opening picocom terminal
  12. echo "[C-a] [C-x] to exit"
  13. echo
  14. picocom -q --omap crcrlf $SERIAL