zephyr/samples/subsys
Alberto Escolar Piedras cb53e40ff9 drivers uart_native_posix: rename to native_pty and support N instances
Rename the driver from uart_native_posix to uart_native_pty.
Including renaming the DTS compatible, and kconfig options, deprecating
the old ones.

And refactor the driver, generalizing it, so we can have any number of
instances.
Note that, unfortunately generalizing to N instances cannot be done
without a degree of backwards compatibility breakage: This driver was
born with all its configuration and selection of the instances based on
kconfig.
When the driver was made to use DT, it was done in a way that required
both DT and kconfig needing to manually coherently enable the 2nd UART.
This has now been fixed, which it means only DT is used to decide how
many instances are avaliable, and UART_NATIVE_POSIX_PORT_1_ENABLE is
just ignored.

Including:
* Deprecate UART_NATIVE_WAIT_PTS_READY_ENABLE: the options is always on
  now as it has no practical drawbacks.
* Deprecate UART_NATIVE_POSIX_PORT_1_ENABLE: DTS intanciation defines it
  being available now.
* Rename a few functions and in general shorten pseudo-tty/pseudo-
  terminal to PTY instead of PTTY.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-03-11 18:54:02 +01:00
..
bindesc tests/samples: use integration platforms where possible 2025-03-11 11:35:15 +01:00
canbus tests: add integration_platforms and misc optimizations 2024-11-26 00:12:07 +01:00
console
dap samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
debug samples/subsys/debug/fuzz: Remove support for native_posix 2025-03-07 19:16:14 +01:00
demand_paging
display samples/*/lvgl: Remove native_posix overlays 2025-03-07 19:16:14 +01:00
edac
fs samples: zms: fix 9999 messages dropped 2025-03-07 19:58:19 +01:00
input sys: util: use BITS_PER_BYTE macro instead of the magic number 8 2024-11-16 15:22:35 -05:00
ipc samples: fix spelling of "below" 2025-02-19 18:51:13 +01:00
llext samples: llext: shell_loader: add hello_world.c, update README 2025-01-29 11:04:33 +01:00
logging samples: Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00
lorawan samples: subsys: lorawan: callback registration for handle descriptor 2025-03-07 19:42:56 +01:00
mgmt samples: subsys: mgmt: mcumgr: smp_svr: Update README 2025-02-26 22:04:36 +00:00
modbus samples: fix zephyr/drivers/gpio.h usage 2024-12-18 18:15:15 +01:00
nvs samples: esp32c3: Add USB variant 2025-01-10 18:57:07 +01:00
pm samples/subsys/pm/latency: Remove native_posix overlays 2025-03-07 19:16:14 +01:00
portability tests/samples: use platform_key on cmsis_rtos tests/samples 2024-10-31 09:23:30 -05:00
profiling samples: pref: Use __noinline attribute 2024-11-30 01:04:11 +01:00
rtio samples: doc: Added README for RTIO sample 2024-12-16 15:55:34 +01:00
sensing
settings samples: settings: cleanup and use filters 2025-03-07 19:54:38 +01:00
shell drivers uart_native_posix: rename to native_pty and support N instances 2025-03-11 18:54:02 +01:00
sip_svc
smf boards: st: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
task_wdt dts: bindings: rename nxp,kinetis-wdog32 compatible 2024-12-02 22:06:39 +00:00
testsuite drivers uart_native_posix: rename to native_pty and support N instances 2025-03-11 18:54:02 +01:00
tracing boards: mimxrt1050_evk: Switch to variants 2024-12-20 22:59:59 +01:00
usb sample: usb_dfu: Exclude NXP RT700 board 2025-03-07 19:48:38 +01:00
usb_c samples: fix zephyr/drivers/gpio.h usage 2024-12-18 18:15:15 +01:00
zbus drivers uart_native_posix: rename to native_pty and support N instances 2025-03-11 18:54:02 +01:00
subsys.rst