Commit 7ddfc6af authored by Alberto Escolar Piedras's avatar Alberto Escolar Piedras Committed by Henrik Brix Andersen
Browse files

boards native_sim: Correct UART outdated comments

Both polling and interrupt based APIs are supported in the TTY driver.
And the console backend is enabled unless *any* UART driver is built.

Signed-off-by: default avatarAlberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
parent cb53e40f
Loading
Loading
Loading
Loading
+3 −4
Changes for boards/native/native_sim/doc/index.rst: 3 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -559,9 +559,8 @@ Neither runtime configuration or line control are supported.
TTY UART
========

With this driver an application can use the polling UART API (``uart_poll_out``,
``uart_poll_in``) to write and read characters to and from a connected serial
port device.
With this driver an application can use the polling and interrupt based UART APIs to write and read
characters to and from a connected serial port device.

This driver is automatically enabled when a devicetree contains a node
with ``"zephyr,native-tty-uart"`` compatible property and ``okay`` status, such
@@ -614,7 +613,7 @@ development by integrating more seamlessly with the host operating system:
  redirect any :c:func:`printk` write to the native host application's
  ``stdout``.

  This driver is selected by default if the `PTTY UART`_ is not compiled in.
  This driver is selected by default if no UART driver is compiled in.
  Otherwise :kconfig:option:`CONFIG_UART_CONSOLE` will be set to select the UART as
  console backend.