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

CONFIG_UART_CONSOLE

Use UART for console

Type: bool

Help

Enable this option to use one UART for console.

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:59

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

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

At drivers/console/Kconfig:35

Included via Kconfig:8Kconfig.zephyr:42drivers/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.

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