Skip to content

Commit

Permalink
list the USB serial bridges too
Browse files Browse the repository at this point in the history
  • Loading branch information
znmeb committed Oct 14, 2024
1 parent 54cac05 commit c4228a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CLAMS-devel/cforth_platformio/test_board.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pushd $CFORTH_PATH
echo "Listing relevant TTYs"
ls -l /dev/ttyACM* \
>> $LOGFILE 2>&1 || true
ls -l /dev/ttyUSB* \
>> $LOGFILE 2>&1 || true
echo "" >> $LOGFILE 2>&1; echo "" >> $LOGFILE 2>&1

echo "Building and uploading"
Expand All @@ -45,6 +47,8 @@ pushd $CFORTH_PATH
echo "Listing relevant TTYs"
ls -l /dev/ttyACM* \
>> $LOGFILE 2>&1 || true
ls -l /dev/ttyUSB* \
>> $LOGFILE 2>&1 || true
date +"%F %T" \
>> $LOGFILE 2>&1
popd
Expand All @@ -57,5 +61,6 @@ cp $CFORTH_PATH/.pio/build/$PIO_ENVIRONMENT/firmware.elf "${PIO_ENVIRONMENT}${BO

echo "Active TTYs"
ls -l /dev/ttyACM* || true
ls -l /dev/ttyUSB* || true

echo "Finished"

0 comments on commit c4228a1

Please sign in to comment.