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>
This commit is contained in:
parent
94a6b82572
commit
b95cb4e137
|
@ -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`
|
|
@ -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
|
|
@ -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…
Reference in New Issue