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 ifs and menus.)

Defaults

Kconfig definition

At subsys/logging/Kconfig:268

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

Menu path: (Top) → Logging

config LOG_BACKEND_RTT
    bool "Enable Segger J-Link RTT backend"
    default y if !SHELL_BACKEND_RTT
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)