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 <Zephyr>/drivers/serial/Kconfig.native_posix:27

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:24<Zephyr>/drivers/serial/Kconfig:85

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.)