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

UART driver for native_posix

Type: bool

Help

This enables a UART driver for the POSIX ARCH with up to 2 UARTs. For the first UART port, the driver can be configured to either connect to the terminal from which native_posix was run, or into one dedicated pseudoterminal for that UART.

Direct dependencies

(SERIAL && BOARD_NATIVE_POSIX) || (ARCH_POSIX && SERIAL)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

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

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config UART_NATIVE_POSIX
    bool
    default y
    depends on SERIAL && BOARD_NATIVE_POSIX

At drivers/serial/Kconfig.native_posix:3

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:22drivers/serial/Kconfig:83

Menu path: (Top) → Device Drivers → Serial Drivers

config UART_NATIVE_POSIX
    bool "UART driver for native_posix"
    select SERIAL_HAS_DRIVER
    depends on ARCH_POSIX && SERIAL
    help
      This enables a UART driver for the POSIX ARCH with up to 2 UARTs.
      For the first UART port, the driver can be configured
      to either connect to the terminal from which native_posix was run, or into
      one dedicated pseudoterminal for that UART.

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