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 <Zephyr>/boards/posix/native_posix/Kconfig.defconfig:63

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:18

Menu path: (Top)

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

At <Zephyr>/drivers/console/Kconfig:47

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