diff --git a/samples/subsys/tracing/README.rst b/samples/subsys/tracing/README.rst index c7ee095a90c..702eabb784f 100644 --- a/samples/subsys/tracing/README.rst +++ b/samples/subsys/tracing/README.rst @@ -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. diff --git a/samples/subsys/tracing/prj_sysview.conf b/samples/subsys/tracing/prj_sysview.conf deleted file mode 100644 index 968ddb6a1e9..00000000000 --- a/samples/subsys/tracing/prj_sysview.conf +++ /dev/null @@ -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 diff --git a/samples/subsys/tracing/sample.yaml b/samples/subsys/tracing/sample.yaml index dd53b444a74..e7104292b2d 100644 --- a/samples/subsys/tracing/sample.yaml +++ b/samples/subsys/tracing/sample.yaml @@ -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