This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_LOG_BACKEND_SWO

Enable Serial Wire Output (SWO) backend

Type: bool

Help

When enabled, backend will use SWO for logging.

Direct dependencies

HAS_SWO && !LOG_FRONTEND && !LOG_MINIMAL && LOG

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/logging/Kconfig.backends:56

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

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

config LOG_BACKEND_SWO
    bool "Enable Serial Wire Output (SWO) backend"
    depends on HAS_SWO && !LOG_FRONTEND && !LOG_MINIMAL && LOG
    help
      When enabled, backend will use SWO for logging.

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