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 if’s and menus.)

Defaults

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definitions

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

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

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

At drivers/console/Kconfig:46

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:16

Menu path: (top menu) → Device Drivers → Console drivers

config UART_CONSOLE
    bool
    prompt "Use UART for console" if SERIAL && SERIAL_HAS_DRIVER && CONSOLE
    select CONSOLE_HAS_DRIVER if SERIAL && SERIAL_HAS_DRIVER && CONSOLE
    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.

(Definitions include propagated dependencies, including from if’s and menus.)