-
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
examples/gnrc_minimal: minimalize gnrc_minimal example #12561
examples/gnrc_minimal: minimalize gnrc_minimal example #12561
Conversation
I hope the comment makes sense now ^^" |
8e24db6
to
d4dd89b
Compare
I agree with the changes in this PR, but I just tried
|
So none of that has to do with the proposed changes, but the application is broken in itself? |
What was your network interface? |
Ah... 6LoWPAN IPHC and fragmentation are not compiled in (on purpose). That is why you can't ping the |
Ah that is it! So while you are minimizing this example, please maximize the documentation so it doesn't seem to be broken for the unsuspecting user. |
Isn't the Readme enough? https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_minimal |
Oh it's already right there! 😅 My only complaints unrelated to this PR are
|
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.
Disabling debug options makes sense for a example in minimalism.
Please squash! |
Indeed it isn't and it is only incidental.
It could, but how would that be propagated is not specified (I think it is just assumed IPHC is in place for every IPv6-over-IEEE802.15.4 capable node). The 6CO option (not supported by RIOT yet) only indicates if GHC is supported so far. |
Having `DEVELHELP` activated for a *minimal* example seems counter-productive.
Squashed |
d4dd89b
to
7859225
Compare
PS: this also would add complexity to the node which we are trying to avoid ;-). |
Let's see how it fairs during the nightlies :-) |
Contribution description
Inspired by 9103e5b I looked and checked if the
gnrc_minimal
example also hasLOG_LEVEL=LOG_NONE
set. And in fact it hasn't. So I activated it. While I was minimizing around, I noticed thatDEVELHELP
was activated for this minimal example. This change goes way back to a change by @kYc0o in abf6c3e (#6406)... Apparently, I didn't look into the details of this example for a while now... IMHO the logic for this should be the other way around, due to the minimalized nature of that example:DEVELHELP=0
, but the comment should provide help what to do to gain its advantages.Testing procedure
Compile
examples/gnrc_minimal
. It should now be significantly smaller than without these changes.Issues/PRs references
None