Fixed Race-Condtion problem with arming of done_flag

This commit is contained in:
AlexanderHD27
2024-09-27 23:21:04 +02:00
parent 986927d740
commit f3490212bf
5 changed files with 65 additions and 25 deletions

View 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"

View File

@@ -1,3 +1,3 @@
#!/usr/bin/bash
sudo src/openocd -f interface/cmsis-dap.cfg -c "bindto 0.0.0.0" -c "adapter speed 5000" -f target/rp2040.cfg -s tcl
src/openocd -f interface/cmsis-dap.cfg -c "bindto 0.0.0.0" -c "adapter speed 5000" -f target/rp2040.cfg -s tcl