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_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/subsys/logging/Kconfig.backends:87

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:31<Zephyr>/subsys/logging/Kconfig:23

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

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