Added Scripts to remotly debug pico
This commit is contained in:
12
motor-control/firmware/scripts/remote/flash.sh
Executable file
12
motor-control/firmware/scripts/remote/flash.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
|
||||
in_file=$(basename "$1")
|
||||
|
||||
echo "Input file: $1"
|
||||
echo "Input file (base): $in_file"
|
||||
echo "Host: $2"
|
||||
|
||||
scp $1 $2:/tmp
|
||||
|
||||
./scripts/remote/flash.exp "/tmp/$in_file" "$2"
|
||||
Reference in New Issue
Block a user