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:
parent
0c2dabb4b9
commit
c3db83ba58
6 changed files with 68 additions and 18 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue