Skip to content

Commit 495c3b4

Browse files
aescolarfabiobaltieri
authored andcommitted
doc/releases/migration-guide-4.2: Mention native_posix renames
Mention all native_posix drivers renames in the migration guide. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
1 parent dcd8c61 commit 495c3b4

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,43 @@ Boards
4141
* The config option :kconfig:option:`CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME` has been deprecated
4242
in favor of :kconfig:option:`CONFIG_NATIVE_SIM_SLOWDOWN_TO_REAL_TIME`.
4343

44+
* The DT binding :dtcompatible:`zephyr,native-posix-cpu` has been deprecated in favor of
45+
:dtcompatible:`zephyr,native-sim-cpu`.
46+
4447
* Zephyr now supports version 1.11.1 of the :zephyr:board:`neorv32`.
4548

4649
Device Drivers and Devicetree
4750
*****************************
4851

52+
Counter
53+
=======
54+
55+
* ``counter_native_posix`` has been renamed ``counter_native_sim``, and with it its
56+
kconfig options and DT binding. :dtcompatible:`zephyr,native-posix-counter` has been deprecated
57+
in favor of :dtcompatible:`zephyr,native-sim-counter`.
58+
And :kconfig:option:`CONFIG_COUNTER_NATIVE_POSIX` and its related options with
59+
:kconfig:option:`CONFIG_COUNTER_NATIVE_SIM` (:github:`86616`).
60+
61+
Entropy
62+
=======
63+
64+
* ``fake_entropy_native_posix`` has been renamed ``fake_entropy_native_sim``, and with it its
65+
kconfig options and DT binding. :dtcompatible:`zephyr,native-posix-rng` has been deprecated
66+
in favor of :dtcompatible:`zephyr,native-sim-rng`.
67+
And :kconfig:option:`CONFIG_FAKE_ENTROPY_NATIVE_POSIX` and its related options with
68+
:kconfig:option:`CONFIG_FAKE_ENTROPY_NATIVE_SIM` (:github:`86615`).
69+
4970
Ethernet
5071
========
5172

5273
* Removed Kconfig option ``ETH_STM32_HAL_MII`` (:github:`86074`).
5374
PHY interface type is now selected via the ``phy-connection-type`` property in the device tree.
5475

76+
* ``ethernet_native_posix`` has been renamed ``ethernet_native_tap``, and with it its
77+
kconfig options: :kconfig:option:`CONFIG_ETH_NATIVE_POSIX` and its related options have been
78+
deprecated in favor of :kconfig:option:`CONFIG_ETH_NATIVE_TAP` (:github:`86578`).
79+
80+
5581
GPIO
5682
====
5783

@@ -61,6 +87,33 @@ GPIO
6187
now left as a placeholder and mapper.
6288
The labels have also been changed along, so no changes are necessary for regular use.
6389

90+
Serial
91+
=======
92+
93+
* ``uart_native_posix`` has been renamed ``uart_native_pty``, and with it its
94+
kconfig options and DT binding. :dtcompatible:`zephyr,native-posix-uart` has been deprecated
95+
in favor of :dtcompatible:`zephyr,native-pty-uart`.
96+
:kconfig:option:`CONFIG_UART_NATIVE_POSIX` and its related options with
97+
:kconfig:option:`CONFIG_UART_NATIVE_PTY`.
98+
The choice :kconfig:option:`CONFIG_NATIVE_UART_0` has been replaced with
99+
:kconfig:option:`CONFIG_UART_NATIVE_PTY_0`, but now, it is also possible to select if a UART is
100+
connected to the process stdin/out instead of a PTY at runtime with the command line option
101+
``--<uart_name>_stdinout``.
102+
:kconfig:option:`CONFIG_NATIVE_UART_AUTOATTACH_DEFAULT_CMD` has been replaced with
103+
:kconfig:option:`CONFIG_UART_NATIVE_PTY_AUTOATTACH_DEFAULT_CMD`.
104+
:kconfig:option:`CONFIG_UART_NATIVE_WAIT_PTS_READY_ENABLE` has been deprecated. The functionality
105+
it enabled is now always enabled as there is no drawbacks from it.
106+
:kconfig:option:`CONFIG_UART_NATIVE_POSIX_PORT_1_ENABLE` has been deprecated. This option does
107+
nothing now. Instead users should instantiate as many :dtcompatible:`zephyr,native-pty-uart` nodes
108+
as native PTY UART instances they want. (:github:`86739`)
109+
110+
Timer
111+
=====
112+
113+
* ``native_posix_timer`` has been renamed ``native_sim_timer``, and so its kconfig option
114+
:kconfig:option:`CONFIG_NATIVE_POSIX_TIMER` has been deprecated in favor of
115+
:kconfig:option:`CONFIG_NATIVE_SIM_TIMER`, (:github:`86612`).
116+
64117
Bluetooth
65118
*********
66119

0 commit comments

Comments
 (0)