Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Kconfig.zephyr
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,11 @@ config NATIVE_APPLICATION
default y if ARCH_POSIX
depends on !NATIVE_LIBRARY
select NATIVE_BUILD
select DEPRECATED
help
Build as a native application that can run on the host and using
resources and libraries provided by the host.
resources and libraries provided by the host. This option is deprecated
and will be removed in Zephyr v4.3

config NATIVE_LIBRARY
bool
Expand Down
3 changes: 2 additions & 1 deletion boards/native/native_sim/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ comment "Native Simular (Single Core) options"

config NATIVE_SIM_NATIVE_POSIX_COMPAT
bool "Pretend to be a native_posix board"
default y
select DEPRECATED
help
When this option is set the native_sim board will pretend to be
a native_posix board from kconfig point of view, to allow using it directly with
code which was meant for the native_posix board and checks for the macro
CONFIG_BOARD_NATIVE_POSIX, or requires other kconfig options which depend on it.
This option is deprecated and will be removed in Zephyr v4.3

config NATIVE_SIM_SLOWDOWN_TO_REAL_TIME
bool "Slow down execution to real time"
Expand Down
9 changes: 9 additions & 0 deletions doc/releases/migration-guide-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,12 @@ Modem

Architectures
*************

* native/POSIX

* :kconfig:option:`CONFIG_NATIVE_APPLICATION` has been deprecated. Out-of-tree boards using this
option should migrate to the native_simulator runner (:github:`81232`).
For an example of how this was done with a board in-tree check :github:`61481`.
* For the native_sim target :kconfig:option:`CONFIG_NATIVE_SIM_NATIVE_POSIX_COMPAT` has been
switched to ``n`` by default, and this option has been deprecated. Ensure your code does not
use the :kconfig:option:`CONFIG_BOARD_NATIVE_POSIX` option anymore (:github:`81232`).
6 changes: 6 additions & 0 deletions doc/releases/release-notes-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ Architectures

* Xtensa

* native/POSIX

* :kconfig:option:`CONFIG_NATIVE_APPLICATION` has been deprecated.
* For the native_sim target :kconfig:option:`CONFIG_NATIVE_SIM_NATIVE_POSIX_COMPAT` has been
switched to ``n`` by default, and this option has been deprecated.

Kernel
******

Expand Down
Loading