This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_NATIVE_UART_0_ON_OWN_PTY

Connect the UART to its own pseudo terminal

Type: bool

Help

Connect this UART to its own pseudoterminal. This is the preferred
option for users who want to use Zephyr's shell.
Moreover this option does not conflict with any other native_posix
backend which may use the calling shell standard input/output.

Direct dependencies

<choice: Native UART Port 0 connection>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At drivers/serial/Kconfig.native_posix:19

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:26drivers/serial/Kconfig:102

Menu path: (Top) → Device Drivers → Serial Drivers → UART driver for native_posix → Native UART Port 0 connection

config NATIVE_UART_0_ON_OWN_PTY
    bool "Connect the UART to its own pseudo terminal"
    depends on <choice>
    help
      Connect this UART to its own pseudoterminal. This is the preferred
      option for users who want to use Zephyr's shell.
      Moreover this option does not conflict with any other native_posix
      backend which may use the calling shell standard input/output.

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