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

Use UART for console

Type: bool

Help

Enable this option to use one UART for console. Make sure CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.

Direct dependencies

(CONSOLE && BOARD_NATIVE_POSIX) || (SERIAL && SERIAL_HAS_DRIVER && CONSOLE)

(Includes any dependencies from ifs and menus.)

Default

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:63

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config UART_CONSOLE
    bool
    default y if SERIAL
    depends on CONSOLE && BOARD_NATIVE_POSIX

At drivers/console/Kconfig:47

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:14

Menu path: (Top) → Device Drivers → Console drivers

config UART_CONSOLE
    bool "Use UART for console"
    select CONSOLE_HAS_DRIVER
    depends on SERIAL && SERIAL_HAS_DRIVER && CONSOLE
    help
      Enable this option to use one UART for console. Make sure
      CONFIG_UART_CONSOLE_ON_DEV_NAME is also set correctly.

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