Skip to content

Commit 7ddfc6a

Browse files
aescolarhenrikbrixandersen
authored andcommitted
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: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent cb53e40 commit 7ddfc6a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

boards/native/native_sim/doc/index.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,8 @@ Neither runtime configuration or line control are supported.
559559
TTY UART
560560
========
561561

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

566565
This driver is automatically enabled when a devicetree contains a node
567566
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:
614613
redirect any :c:func:`printk` write to the native host application's
615614
``stdout``.
616615

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

0 commit comments

Comments
 (0)