snippets: rtt-console: fix README issues

- Title underline too long
- Remove redundant how-to-use snippet bit, this can be documented
  generically for all snippets instead of repeating it everywhere.
- Snippet does not redirect anything.
- RTT does not require HW support for console.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-10-28 09:02:17 +01:00 committed by Anas Nashif
parent ce4ce9986a
commit 40a73ec96e
1 changed files with 3 additions and 8 deletions

View File

@ -1,21 +1,16 @@
.. _snippet-rtt-console: .. _snippet-rtt-console:
RTT Console Snippet (rtt-console) RTT Console Snippet (rtt-console)
######################################### #################################
.. code-block:: console
west build -S rtt-console [...]
Overview Overview
******** ********
This snippet redirects serial console output to SEGGER RTT. This snippet enables console output to SEGGER RTT.
Requirements Requirements
************ ************
Hardware support for: Support for:
- :kconfig:option:`CONFIG_HAS_SEGGER_RTT` - :kconfig:option:`CONFIG_HAS_SEGGER_RTT`
- :kconfig:option:`CONFIG_CONSOLE`