Fixed Race-Condtion problem with arming of done_flag
This commit is contained in:
20
motor-control/firmware/scripts/remote/run_openocd.exp
Normal file
20
motor-control/firmware/scripts/remote/run_openocd.exp
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
set timeout 30
|
||||
|
||||
spawn ssh [lindex $argv 0]
|
||||
|
||||
expect "# "
|
||||
send "cd ~/gobot/"
|
||||
expect "# "
|
||||
|
||||
send "git fetch"
|
||||
expect "# "
|
||||
|
||||
send "git checkout motor-ctrl-firmware"
|
||||
expect "# "
|
||||
|
||||
send "cd motor-control/firmware/scripts/remote"
|
||||
expect "# "
|
||||
|
||||
send "./run_openocd.sh"
|
||||
Reference in New Issue
Block a user