From 15d324cbd4ba76105c01eaa6f8e38cfcb82c2891 Mon Sep 17 00:00:00 2001 From: Helmut Lord Date: Wed, 26 Mar 2025 12:57:27 -0400 Subject: [PATCH] doc: services: shell: add reference to west rtt Adds a reference to west rtt as alternative to using putty. Also provides a command that prints supported rtt runners for the specific build. This issue is encountered now with the nRF54L1, for example, because the nrfutil runner does not support RTT at this time. Signed-off-by: Helmut Lord --- doc/services/shell/index.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/services/shell/index.rst b/doc/services/shell/index.rst index c747c00fc84..8181d406da4 100644 --- a/doc/services/shell/index.rst +++ b/doc/services/shell/index.rst @@ -122,6 +122,27 @@ To configure Segger RTT backend, add the following configurations to your build: Details on additional configuration settings are captured in: :zephyr_file:`samples/subsys/shell/shell_module/prj_minimal_rtt.conf`. +.. _shell_rtt_west: + +Using west +----------- + +Attach to and configure RTT with: + +.. code-block:: console + + $ west rtt + +.. note:: + + If your default runner does not have support for RTT, check your board's documentation page for + any other runners that support RTT. You may then use the ``--runner`` option to specify a + different runner. + + .. code-block:: console + + $ west rtt --runner + .. _shell_rtt_putty: Using PuTTY