Browse Source

snippets: Add SystemView RTT tracing snippet

Adds a new snippet to enable tracing with SEGGER SystemView and RTT.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
pull/80299/head
Maureen Helm 9 months ago committed by Carles Cufí
parent
commit
b95cb4e137
  1. 20
      snippets/rtt-tracing/README.rst
  2. 12
      snippets/rtt-tracing/rtt-tracing.conf
  3. 6
      snippets/rtt-tracing/snippet.yml

20
snippets/rtt-tracing/README.rst

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
.. _snippet-rtt-tracing:
SystemView RTT Tracing Snippet (rtt-tracing)
############################################
.. code-block:: console
west build -S rtt-tracing [...]
Overview
********
This snippet enables SEGGER SystemView RTT support with the tracing subsystem.
Requirements
************
Hardware support for:
- :kconfig:option:`CONFIG_HAS_SEGGER_RTT`

12
snippets/rtt-tracing/rtt-tracing.conf

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
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

6
snippets/rtt-tracing/snippet.yml

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
name: rtt-tracing
append:
EXTRA_CONF_FILE: rtt-tracing.conf
Loading…
Cancel
Save