samples: tracing: Use SystemView RTT tracing snippet

Refactors the SystemView sample configuration to use the rtt-tracing
snippet.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
Maureen Helm 2024-10-19 13:49:29 -05:00 committed by Carles Cufí
parent b95cb4e137
commit 36d8131e07
3 changed files with 15 additions and 6 deletions

View file

@ -113,3 +113,17 @@ Build a USER-tracing image with:
:compact:
After the application has run for a while, check the trace output file.
Usage for SEGGER SystemView RTT
*******************************
Build a SystemView-tracing image with the :ref:`snippet-rtt-tracing`:
.. zephyr-app-commands::
:zephyr-app: samples/subsys/tracing
:board: frdm_k64f
:snippets: rtt-tracing
:goals: build
:compact:
After the application has run for a while, check the trace output file.

View file

@ -1,5 +0,0 @@
CONFIG_TRACING=y
CONFIG_SEGGER_SYSTEMVIEW=y
CONFIG_IDLE_STACK_SIZE=2048
CONFIG_SEGGER_SYSTEMVIEW_BOOT_ENABLE=n
CONFIG_SEGGER_SYSVIEW_POST_MORTEM_MODE=n

View file

@ -28,7 +28,7 @@ tests:
- mimxrt1064_evk
integration_platforms:
- nrf52840dk/nrf52840
extra_args: CONF_FILE="prj_sysview.conf"
extra_args: SNIPPET="rtt-tracing"
sample.tracing.osawareness.openocd:
arch_exclude:
- posix