Reference
west build -S rtt-console [...]
This snippet redirects serial console output to SEGGER RTT.
Hardware support for:
CONFIG_HAS_SEGGER_RTT
CONFIG_CONSOLE