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_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig:329

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:31

Menu path: (Top) → Sub Systems and OS Services → Logging

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