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_STDINOUT

Connect the UART to the invoking shell stdin/stdout

Type: bool

Help

Connect this UART to the stdin & stdout of the calling shell/terminal
which invoked the native_posix executable. This is good enough for
automated testing, or when feeding from a file/pipe.
Note that other, non UART messages, will also be printed to the
terminal. This option should NOT be used in conjunction with
NATIVE_POSIX_STDIN_CONSOLE
It is strongly discouraged to try to use this option with the new
shell interactively, as the default terminal configuration is NOT
appropriate for interactive use.

Direct dependencies

<choice: Native UART Port 0 connection>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At drivers/serial/Kconfig.native_posix:27

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_STDINOUT
    bool "Connect the UART to the invoking shell stdin/stdout"
    depends on <choice>
    help
      Connect this UART to the stdin & stdout of the calling shell/terminal
      which invoked the native_posix executable. This is good enough for
      automated testing, or when feeding from a file/pipe.
      Note that other, non UART messages, will also be printed to the
      terminal. This option should NOT be used in conjunction with
      NATIVE_POSIX_STDIN_CONSOLE
      It is strongly discouraged to try to use this option with the new
      shell interactively, as the default terminal configuration is NOT
      appropriate for interactive use.

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