firmware/bin/run-both.sh

11 lines
164 B
Bash
Raw Normal View History

2021-03-17 12:29:27 +00:00
set -e
pio run
echo uploading to usb1
pio run --upload-port /dev/ttyUSB1 -t upload &
echo uploading to usb0
pio run --upload-port /dev/ttyUSB0 -t upload &
wait