-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gnrc/rpl: Expose configurations to Kconfig #13941
gnrc/rpl: Expose configurations to Kconfig #13941
Conversation
90ca355
to
06e7932
Compare
@leandrolanzieri code-wise the changes look correct. I wanted to give this a test, but the RPL menu does not appear in the menu? Is an include missing? |
Indeed, please give it a try now :-) |
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.
Thanks! Tested and works like a charm!
and please squash. |
Also evaluate its value using IS_ACTIVE when possible.
Also check its value using IS_ACTIVE when possible.
61184a9
to
4b3bfd3
Compare
Done |
#ifndef GNRC_RPL_MSG_QUEUE_SIZE | ||
#define GNRC_RPL_MSG_QUEUE_SIZE (8U) | ||
#ifndef CONFIG_GNRC_RPL_MSG_QUEUE_SIZE | ||
#define CONFIG_GNRC_RPL_MSG_QUEUE_SIZE (8U) |
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.
In #14071 the exponent was used to model the power of 2 restriction of message queues. Should we do this here as well or rather as a follow-up (including the other queue sizes)
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.
Good point. Let's defer that to a follow-up PR, though. The diff and commit history is already kind of convoluted.
Contribution description
This PR moves configuration macros of GNRC RPL module to
CONFIG_
namespace and exposes them to Kconfig.Testing procedure
menuconfig
) should reflect on the configuration macros.Issues/PRs references
Part of #12888