The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_LOG_BACKEND_UART

Enable UART backend

Type: bool

Help

When enabled backend is using UART to output logs.

Direct dependencies

UART_CONSOLE && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At subsys/logging/Kconfig.backends:6

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:31subsys/logging/Kconfig:28

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

config LOG_BACKEND_UART
    bool "Enable UART backend"
    default y if !SHELL_BACKEND_SERIAL
    depends on UART_CONSOLE && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When enabled backend is using UART to output logs.

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