Skip to content

Commit afde9ec

Browse files
committed
Include thread debug info.
1 parent 64a4994 commit afde9ec

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

device/prj.conf.overlays/nrf_shared.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ CONFIG_TRACING=y
103103
CONFIG_TRACING_THREAD=y
104104
CONFIG_TRACING_USER=y
105105

106+
# emit kernel thread-list metadata so debuggers (J-Link/OpenOCD Zephyr RTOS
107+
# awareness) can enumerate threads when stepping
108+
CONFIG_DEBUG_THREAD_INFO=y
109+
106110
# enable power management
107111
CONFIG_PM=y
108112
CONFIG_PM_DEVICE=y

doc-dev/other/gdb_uhk80.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Debugging UHK80 with VSCode
22

3+
Enable this KConfig:
4+
5+
```
6+
CONFIG_DEBUG_THREAD_INFO=y
7+
```
8+
39
In terminal:
410

511
```

0 commit comments

Comments
 (0)