Hi,
I'm working on a project where we would like to track system performance using Segger Systemview.
I'm building with the following RTT configs:
Fullscreen
1
2
3
4
5
6
7
8
9
CONFIG_USE_SEGGER_RTT=y
CONFIG_DEBUG_OPTIMIZATIONS=n
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_TRACING=y
CONFIG_SEGGER_SYSTEMVIEW=y
CONFIG_SEGGER_SYSTEMVIEW_BOOT_ENABLE=n
CONFIG_SEGGER_SYSVIEW_POST_MORTEM_MODE=n
and I'm getting the following errors:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/tracing/tracing_macros.h:43:9: warning: implicit declaration of function 'sys_port_trace_net_tx_time' [-Wimplicit-function-declaration]
43 | sys_port_trace_ ## name ## _ ## func
| ^~~~~~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET'
72 | #define __DEBRACKET(...) __VA_ARGS__
| ^~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
| ^~~~~~~~~~~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
180 | Z_COND_CODE_1(_flag, _if_1_code, _else_code)
| ^~~~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/tracing/tracing_macros.h:211:9: note: in expansion of macro 'COND_CODE_1'
211 | COND_CODE_1(_SYS_PORT_TRACE_IS_DISABLED(type), (), \
| ^~~~~~~~~~~
/home/<user>/ncs/v2.9.0/zephyr/include/zephyr/tracing/tracing_macros.h:212:22: note: in expansion of macro '_SYS_PORT_TRACE_WRAP'
212 | (_SYS_PORT_TRACE_WRAP(func, __VA_ARGS__)))
| ^~~~~~~~~~~~~~~~~~~~
I have tried to add these configs as well but without any luck:
Fullscreen
1
2
CONFIG_TRACING_NET_CORE=n
CONFIG_TRACING_NET_SOCKETS=n
Forgot to add:
Nordic SDK: 2.9.0
SiP: nrf9160
Modem FW version: 1.3.7