The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_NATIVE_UART_0_ON_STDINOUT

Connect the UART to the invoking shell stdin/stdout

Type: bool

Help

Connect the 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 if’s and menus.)

Kconfig definition

At drivers/serial/Kconfig.native_posix:33

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:22drivers/serial/Kconfig:81

Menu path: (top menu) → Device Drivers → Serial Drivers → Native UART Port 0 connection

config NATIVE_UART_0_ON_STDINOUT
    bool
    prompt "Connect the UART to the invoking shell stdin/stdout" if <choice: Native UART Port 0 connection>
    depends on <choice: Native UART Port 0 connection>
    help
      Connect the 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.

(Definitions include propagated dependencies, including from if’s and menus.)