Kconfig: Expose gnrc/sixlowpan configurations#13123
Kconfig: Expose gnrc/sixlowpan configurations#13123leandrolanzieri merged 11 commits intoRIOT-OS:masterfrom
Conversation
366f22f to
88a9e7a
Compare
|
I squashed the commit that has fixed one symbol discription. Furthermore, I've added one commit that removes the duplication of |
88a9e7a to
9e1e7cc
Compare
|
I've added #13129 here and adapted it to this PRs needs. After #13129 got merged, this one needs a rebase. Furthermore, there a some commits that need to be squashed. @leandrolanzieri , @fjmolinas I have to leave soon. If you want take over to merge this PR before feature freeze, feel free! |
9e1e7cc to
44e953f
Compare
|
This PR should be good now after #13129 got merge and a rebase. Can I squash? |
leandrolanzieri
left a comment
There was a problem hiding this comment.
Some comments on the Kconfig files
676e8cd to
1335be1
Compare
|
@leandrolanzieri, addressed your comments. Squash? |
1335be1 to
3294707
Compare
|
@PeterKietzmann Code looks good, from my side you can squash. I will be running the tests now. |
96ff906 to
df7a5d6
Compare
Test resultstests/gnrc_sixlowpan_frag (without Kconfig)tests/gnrc_sixlowpan_frag (with Kconfig defaults)tests/gnrc_sixlowpan_iphc_w_vrb (without Kconfig)tests/gnrc_sixlowpan_iphc_w_vrb (with Kconfig defaults)tests/unittests/gnrc_sixlowpan_frag_vrb (without Kconfig)tests/unittests/gnrc_sixlowpan_frag_vrb (with Kconfig defaults) |
|
Tests were OK and code changes look good. @miri64 any comments on your side? |
miri64
left a comment
There was a problem hiding this comment.
Apart from the lines marked (where I need to adapt my PR for) only renames, duplicate removals and Kconfig additions in this PR. So LGTM from my side.
| #ifndef GNRC_SIXLOWPAN_FRAG_VRB_SIZE | ||
| #if defined(MODULE_GNRC_SIXLOWPAN_FRAG_VRB) || defined(DOXYGEN) | ||
| #define GNRC_SIXLOWPAN_FRAG_VRB_SIZE (16U) | ||
| #else /* defined(MODULE_GNRC_SIXLOWPAN_FRAG_VRB) || defined(DOXYGEN) */ | ||
| #define GNRC_SIXLOWPAN_FRAG_VRB_SIZE (0U) | ||
| #endif /* defined(MODULE_GNRC_SIXLOWPAN_FRAG_VRB) || defined(DOXYGEN) */ | ||
| #endif /* GNRC_SIXLOWPAN_FRAG_VRB_SIZE */ | ||
| #ifndef CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE | ||
| #define CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE (16U) | ||
| #endif /* CONFIG_GNRC_SIXLOWPAN_FRAG_VRB_SIZE */ |
Contribution description
This PR moves the configuration macros of
gnrx/sixlowpanfound here to theCONFIG_namespace, and exposes them to Kconfig for individual modules.As agreed offline with @leandrolanzieri I did not include the default thread priority parameter because this should be defined by the platform, if not changed manually. We might need a better solution to this in future.
Furthermore, I did not include parameters that relate to selective fragment recovery. As agreed with @miri64, these should be changed in #12648.
Testing procedure
examples/gnrc_networkingshould still work as usual.tests/gnrc_sixlowpan_fragshould still work as usual.tests/gnrc_sixlowpan_iphc_w_vrbshould still work as usual.tests/unittests/tests-gnrc_sixlowpan_frag_vrbshould still work as usual.make menuconfigin all applications.Issues/PRs references
Part of #12888