Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromtree][Zephyr] Add implementation of POSIX API wrappers if necessary (#37007) #531

Merged

Conversation

maciejbaczmanski
Copy link
Member

CONFIG_NET_SOCKETS_POSIX_NAMES has been deprecated in Zephyr in favor of CONFIG_POSIX_API.
CONFIG_POSIX_API enables additional functionalities other than sockets, resulting in increased footprint.
This commit extends ZephyrSocket.h to include Zephyr socket header and allow building with both configs disabled, adding neccessary wrappers.

(cherry picked from commit 2a09f8bd99ed73a773a25c9a6d7427f108918ce9)

…cessary (#37007)

`CONFIG_NET_SOCKETS_POSIX_NAMES` has been deprecated in Zephyr
in favor of `CONFIG_POSIX_API`.
`CONFIG_POSIX_API` enables additional functionalities other than
sockets, resulting in increased footprint.
This commit extends `ZephyrSocket.h` to include Zephyr socket
header and allow building with both configs disabled, adding
neccessary wrappers.

(cherry picked from commit 2a09f8bd99ed73a773a25c9a6d7427f108918ce9)
@maciejbaczmanski maciejbaczmanski merged commit 4ced6d7 into nrfconnect:master Jan 23, 2025
8 checks passed
@maciejbaczmanski maciejbaczmanski deleted the matter_sockets_names_ncs branch January 23, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants