Skip to content

Commit 53bbded

Browse files
aescolarfabiobaltieri
authored andcommitted
drivers/serial native: Replace native_posix with native_sim in comments
In the kconfig descriptions and the links to documents replace native_posix with native_sim, or a generally applicable description. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 94b16c4 commit 53bbded

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

drivers/serial/Kconfig.native_posix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
config UART_NATIVE_POSIX
4-
bool "UART driver for native_posix"
4+
bool "UART driver for native_sim/posix"
55
default y
66
depends on DT_HAS_ZEPHYR_NATIVE_POSIX_UART_ENABLED
77
select SERIAL_HAS_DRIVER
88
help
99
This enables a UART driver for the POSIX ARCH with up to 2 UARTs.
1010
For the first UART port, the driver can be configured
11-
to either connect to the terminal from which native_posix was run, or into
11+
to either connect to the terminal from which the executable was run, or into
1212
one dedicated pseudoterminal for that UART.
1313

1414
if UART_NATIVE_POSIX
@@ -22,14 +22,14 @@ config NATIVE_UART_0_ON_OWN_PTY
2222
help
2323
Connect this UART to its own pseudoterminal. This is the preferred
2424
option for users who want to use Zephyr's shell.
25-
Moreover this option does not conflict with any other native_posix
26-
backend which may use the calling shell standard input/output.
25+
Moreover this option does not conflict with any other native
26+
backend which may use the invoking shell standard input/output.
2727

2828
config NATIVE_UART_0_ON_STDINOUT
2929
bool "Connect the UART to the invoking shell stdin/stdout"
3030
help
3131
Connect this UART to the stdin & stdout of the calling shell/terminal
32-
which invoked the native_posix executable. This is good enough for
32+
which invoked the native executable. This is good enough for
3333
automated testing, or when feeding from a file/pipe.
3434
Note that other, non UART messages, will also be printed to the
3535
terminal.
@@ -60,7 +60,7 @@ config NATIVE_UART_AUTOATTACH_DEFAULT_CMD
6060
string "Default command to attach the UART to a new terminal"
6161
default "xterm -e screen %s &"
6262
help
63-
If the native_posix executable is called with the --attach_uart
63+
If the native executable is called with the --attach_uart
6464
command line option, this will be the default command which will be
6565
run to attach a new terminal to the 1st UART.
6666
Note that this command must have one, and only one, '%s' as

drivers/serial/uart_native_tty.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* command line options or at runtime.
77
*
88
* To learn more see Native TTY section at:
9-
* https://docs.zephyrproject.org/latest/boards/posix/native_posix/doc/index.html
9+
* https://docs.zephyrproject.org/latest/boards/posix/native_sim/doc/index.html
1010
* or
11-
* ${ZEPHYR_BASE}/boards/posix/native_posix/doc/index.rst
11+
* ${ZEPHYR_BASE}/boards/posix/native_sim/doc/index.rst
1212
*
1313
* Copyright (c) 2023 Marko Sagadin
1414
* SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)