@@ -85,10 +85,10 @@ leverages the ``nanosleep()`` and ``perror()`` POSIX functions.
8585.. code-block :: cfg
8686 :caption: `prj.conf` for a simple POSIX app in Zephyr
8787
88- CONFIG_POSIX_API =y
88+ CONFIG_POSIX_AEP_REALTIME_MINIMAL =y
8989
9090 .. code-block :: c
91- :caption: A simple app that uses Zephyr's POSIX API
91+ :caption: A simple app that uses the POSIX API
9292
9393 #include <stddef.h>
9494 #include <stdio.h>
@@ -128,38 +128,30 @@ explicitly choose to enable POSIX options via :ref:`Kconfig<kconfig>` selection.
128128Subprofiles
129129+++++++++++
130130
131- Enable one of the Kconfig options below to quickly configure a pre-defined
131+ Applications should enable one of the Kconfig options below to quickly configure a pre-defined
132132:ref: `POSIX subprofile <posix_subprofiles >`.
133133
134134* :kconfig:option: `CONFIG_POSIX_AEP_CHOICE_BASE ` (:ref: `Base <posix_system_interfaces_required >`)
135135* :kconfig:option: `CONFIG_POSIX_AEP_CHOICE_PSE51 ` (:ref: `PSE51 <posix_aep_pse51 >`)
136136* :kconfig:option: `CONFIG_POSIX_AEP_CHOICE_PSE52 ` (:ref: `PSE52 <posix_aep_pse52 >`)
137137* :kconfig:option: `CONFIG_POSIX_AEP_CHOICE_PSE53 ` (:ref: `PSE53 <posix_aep_pse53 >`)
138138
139- Additional POSIX :ref: `Options and Option Groups <posix_option_groups >` may be enabled as needed
140- via Kconfig (e.g. ``CONFIG_POSIX_C_LIB_EXT=y ``). Further fine-tuning may be accomplished via
141- :ref: `additional POSIX-related Kconfig options <posix_kconfig_options >`.
139+ Libraries should depend on :kconfig:option: `CONFIG_POSIX_SYSTEM_INTERFACES ` and other
140+ POSIX :ref: `Option Groups <posix_option_groups >`, as needed.
142141
143- Subprofiles, Options, and Option Groups should be considered the preferred way to configure POSIX
144- in Zephyr going forward .
142+ Further fine-tuning may be accomplished via
143+ :ref: ` additional POSIX-related Kconfig options < posix_kconfig_options >` .
145144
146145Legacy
147146++++++
148147
149148Historically, Zephyr used :kconfig:option: `CONFIG_POSIX_API ` to configure a set of POSIX features
150149that was overloaded and always increasing in size.
151150
152- * :kconfig:option: `CONFIG_POSIX_API `
153-
154- The option is now frozen, and can be considered equivalent to the following:
155-
156- * :kconfig:option: `CONFIG_POSIX_AEP_CHOICE_PSE51 `
157- * :kconfig:option: `CONFIG_POSIX_FD_MGMT `
158- * :kconfig:option: `CONFIG_POSIX_MESSAGE_PASSING `
159- * :kconfig:option: `CONFIG_POSIX_NETWORKING `
151+ The :kconfig:option: `CONFIG_POSIX_API ` is now deprecated and is slated for removal in Zephyr
152+ v4.5.0.
160153
161- However, :kconfig:option: `CONFIG_POSIX_API ` should be considered legacy and should not be used for
162- new Zephyr applications.
154+ Applications should select a POSIX subprofile mentioned above.
163155
164156.. _IEEE : https://www.ieee.org/
165157.. _IEEE Computer Society : https://www.computer.org/
0 commit comments