Skip to content
Commit 18f45b5f authored by Tobias Pisani's avatar Tobias Pisani Committed by Anas Nashif
Browse files

west: runners: Implement the west rtt command for openocd



This was non-trivial, as openocd is a bit weird to work with. Using only
commands passed with '-c' arguments, I couldn't get it to reliably resume
(or just not halt) the target when started. I tried using the 'sleep'
command, and various 'configure -event XX { resume }' events, but nothing
panned out, as it seems to always halt after all `-c` commands have been
run.

To avoid that, this waits for the TCL RPC port to be up, and sends a
resume command there. This works reliably.

Signed-off-by: default avatarTobias Pisani <mail@topisani.dev>
parent b3b8360f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment