-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
west: runners: Add rtt support to 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 this, this waits for the TCL RPC port to be up, and sends a resume command there. This works reliably. Signed-off-by: Tobias Pisani <[email protected]>
- Loading branch information
Showing
1 changed file
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters