-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Zephyr] Remove redundant config and add implementation of POSIX API wrappers if necessary #37007
base: master
Are you sure you want to change the base?
[Zephyr] Remove redundant config and add implementation of POSIX API wrappers if necessary #37007
Conversation
Zephyr now implements all required socket APIs, Remove redundant `CHIP_SYSTEM_CONFIG_USE_ZEPHYR_SOCKET_EXTENSIONS` config. Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
f53c48f
to
be25c9f
Compare
be25c9f
to
825b220
Compare
`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 reuses `ZephyrSocket.h` to include Zephyr socket header and allow building with both configs disabled, adding neccessary wrappers.
825b220
to
5e3d939
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a ### Testing
section describing how things were tested that this still works? What commands did you run (assuming manual testing) and what was observed. Did you test all affected platforms or only one/some and assumed the changes will work everywhere? Are all platform owners of the affected platforms aware of the change?
Zephyr now implements all required socket APIs, Remove redundant
CHIP_SYSTEM_CONFIG_USE_ZEPHYR_SOCKET_EXTENSIONS
config.CONFIG_NET_SOCKETS_POSIX_NAMES
has been deprecated in Zephyrin favor of
CONFIG_POSIX_API
.CONFIG_POSIX_API
enables additional functionalities other thansockets, resulting in increased footprint.
This commit reuses
ZephyrSocket.h
to include Zephyr socketheader and allow building with both configs disabled, adding
neccessary wrappers.