Skip to content

Commit f4e7c5d

Browse files
Damian-Nordicnordicjm
authored andcommitted
samples: nrf_rpc: ps_server: include more data in core dump
Change default Core Dump settings to include information about threads other than current one to be enable analysis of multi-threading issues. Signed-off-by: Damian Krolik <[email protected]>
1 parent 9bbb19a commit f4e7c5d

File tree

1 file changed

+4
-2
lines changed
  • samples/nrf_rpc/protocols_serialization/server/snippets/log_rpc

1 file changed

+4
-2
lines changed

samples/nrf_rpc/protocols_serialization/server/snippets/log_rpc/log_rpc.conf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ CONFIG_LOG_BACKEND_RPC_ECHO=y
1414
CONFIG_DEBUG_COREDUMP=y
1515
CONFIG_DEBUG_COREDUMP_BACKEND_OTHER=y
1616
CONFIG_DEBUG_COREDUMP_BACKEND_NRF_FLASH_PARTITION=y
17-
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
18-
CONFIG_DEBUG_COREDUMP_THREADS_METADATA=n
17+
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_THREADS=y
18+
CONFIG_DEBUG_COREDUMP_THREADS_METADATA=y
19+
CONFIG_DEBUG_COREDUMP_THREAD_STACK_TOP=y
20+
CONFIG_DEBUG_COREDUMP_THREAD_STACK_TOP_LIMIT=256
1921

2022
# nRF RPC requires slightly bigger stack than default
2123
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=1024

0 commit comments

Comments
 (0)