CONFIG_LOG_BACKEND_RTT

Enable Segger J-Link RTT backend

Type: bool

Help

When enabled, backend will use RTT for logging. This backend works on a per message basis. Only a whole message (terminated with a carriage return: ‘r’) is transferred to up-buffer at once depending on available space and selected mode. In panic mode backend always blocks and waits until there is space in up-buffer for a message and message is transferred to host.

Direct dependencies

USE_SEGGER_RTT && LOG

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/logging/Kconfig:241

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:20

Menu path: (top menu) → Logging

config LOG_BACKEND_RTT
    bool
    prompt "Enable Segger J-Link RTT backend" if USE_SEGGER_RTT && LOG
    default "y" if !SHELL_BACKEND_RTT && USE_SEGGER_RTT && LOG
    depends on USE_SEGGER_RTT && LOG
    help
      When enabled, backend will use RTT for logging. This backend works on a per
      message basis. Only a whole message (terminated with a carriage return: 'r')
      is transferred to up-buffer at once depending on available space and
      selected mode.
      In panic mode backend always blocks and waits until there is space
      in up-buffer for a message and message is transferred to host.

(Definitions include propagated dependencies, including from if’s and menus.)