Added Scripts to remotly debug pico
This commit is contained in:
13
motor-control/firmware/scripts/remote/reset.exp
Executable file
13
motor-control/firmware/scripts/remote/reset.exp
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
set timeout 30
|
||||
|
||||
set host [lindex $argv 0]
|
||||
|
||||
spawn telnet $host 4444
|
||||
|
||||
expect "> "
|
||||
send "reset\n"
|
||||
expect "> "
|
||||
send "exit\n"
|
||||
exit
|
||||
Reference in New Issue
Block a user