tools for running with multiple devices

This commit is contained in:
geeksville 2020-02-08 09:38:56 -08:00
parent c41a6a860a
commit 59ca54a6bb
2 changed files with 8 additions and 0 deletions

7
run-both-monitor.sh Executable file
View File

@ -0,0 +1,7 @@
set -e
echo uploading to usb1
pio run --upload-port /dev/ttyUSB1 -t upload
echo uploading to usb0
pio run --upload-port /dev/ttyUSB0 -t upload -t monitor

1
upload-usb1.sh Executable file
View File

@ -0,0 +1 @@
pio run --upload-port /dev/ttyUSB1 -t upload