-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Define number of platform socket services using Kconfig #99499
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
Define number of platform socket services using Kconfig #99499
Conversation
modules/openthread/Kconfig
Outdated
| This configuration defines the maximum number of pollable mDNS sockets | ||
| to be used within platform mDNS module. |
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.
Is this help text correct, it looks identical as the mDNS one?
6cb3b12 to
8b34b8e
Compare
modules/openthread/Kconfig
Outdated
| config OPENTHREAD_ZEPHYR_BORDER_ROUTER_MAX_UDP_SERVICES | ||
| int "The maximum number of pollable UDP sockets to be registered in platform UDP." | ||
| int "The maximum number of pollable UDP sockets to be registered in platform code." | ||
| depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER |
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.
This config is already behind if OPENTHREAD_ZEPHYR_BORDER_ROUTER so depends on OPENTHREAD_ZEPHYR_BORDER_ROUTER is redundant, could be removed. Same for other configs below.
8b34b8e to
d75387a
Compare
This commit adds support to define number of platform socket services using Kconfig. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Updated platform code to make use of number of socket services defined in Kconfig. In this way, hardcoded values are avoided. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
d75387a to
9a4b035
Compare
|



Provide support to define number of socket services using Kconfig.