mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
14 lines
204 B
Bash
Executable File
14 lines
204 B
Bash
Executable File
set -e
|
|
|
|
TARG=tbeam
|
|
|
|
pio run -e $TARG
|
|
|
|
echo uploading to usb1
|
|
pio run --upload-port /dev/ttyUSB1 -t upload -e $TARG &
|
|
|
|
echo uploading to usb0
|
|
pio run --upload-port /dev/ttyUSB0 -t upload -e $TARG &
|
|
|
|
wait
|