The latest development version of this page may be more current than this released 2.2.1 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:32drivers/Kconfig:22drivers/serial/Kconfig:83

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: Native UART Port 0 connection>
    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.)