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

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

Menu path: (Top)

config UART_NATIVE_POSIX
    bool
    default y
    depends on SERIAL && BOARD_NATIVE_POSIX

At <Zephyr>/drivers/serial/Kconfig.native_posix:3

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:24<Zephyr>/drivers/serial/Kconfig:85

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.)