-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Zephyr] Add implementation of POSIX API wrappers if necessary #37007
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] Add implementation of POSIX API wrappers if necessary #37007
Conversation
f53c48f to
be25c9f
Compare
825b220 to
5e3d939
Compare
Damian-Nordic
left a comment
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.
andy31415
left a comment
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?
f27d1c7 to
32c30cd
Compare
Hi @andy31415 , sure, added a section in PR comment. I had to change the approach and keep |
|
PR #37007: Size comparison from 5bd63d5 to 32c30cd Full report (67 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nxp, psoc6, qpg, stm32, telink, tizen)
|
`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.
32c30cd to
10518d5
Compare
|
PR #37007: Size comparison from a5bf60d to 10518d5 Full report (81 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
|
…cessary (project-chip#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 2a09f8b)
CONFIG_NET_SOCKETS_POSIX_NAMEShas been deprecated in Zephyrin favor of
CONFIG_POSIX_API.CONFIG_POSIX_APIenables additional functionalities other thansockets, resulting in increased footprint.
This commit extends
ZephyrSocket.hto include Zephyr socketheader and allow building with both configs disabled, adding
neccessary wrappers.
Testing
Tested manually on nRF SoC as nordic is the only affected platform (all other platforms use
CONFIG_POSIX_API)