scripts: runners: openocd: Enable thread awareness

Zephyr thread awareness is available for openocd but boards don't
have debuggers configuration.  This configure OpenOCD runner
automatically to complete configuration.

User still require enable CONFIG_DEBUG_THREAD_INFO=y to visualize
thread debug information.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2021-08-25 22:07:54 -03:00 committed by Christopher Friedt
commit c3db83ba58
6 changed files with 68 additions and 18 deletions

View file

@ -27,7 +27,6 @@ set(pre_init_cmds
"source [find interface/${OPENOCD_NRF5_INTERFACE}.cfg]"
"transport select swd"
"source [find target/${OPENOCD_NRF5_SUBFAMILY}.cfg]"
"$_TARGETNAME configure -rtos auto"
)
foreach(cmd ${pre_init_cmds})