CONFIG_UART_NATIVE_WAIT_PTS_READY_ENABLE

Support waiting for pseudo terminal client readiness

Type: bool

Help

When this option is selected a new command line switch is provided:
``--wait_uart``
When ``--wait_uart`` is used, writes to the UART will be held until a
client has connected to the slave side of the pseudoterminal.
Otherwise writes are sent irrespectively.

Direct dependencies

(NATIVE_UART_0_ON_OWN_PTY || UART_NATIVE_POSIX_PORT_1_ENABLE) && UART_NATIVE_POSIX && SERIAL

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:26<Zephyr>/drivers/serial/Kconfig:124

Menu path: (Top) → Device Drivers → Serial Drivers → UART driver for native_posix

config UART_NATIVE_WAIT_PTS_READY_ENABLE
    bool "Support waiting for pseudo terminal client readiness"
    depends on (NATIVE_UART_0_ON_OWN_PTY || UART_NATIVE_POSIX_PORT_1_ENABLE) && UART_NATIVE_POSIX && SERIAL
    help
      When this option is selected a new command line switch is provided:
      ``--wait_uart``
      When ``--wait_uart`` is used, writes to the UART will be held until a
      client has connected to the slave side of the pseudoterminal.
      Otherwise writes are sent irrespectively.

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