tests/pkg/lwip: include default-radio-settings.inc.mk [backport 2024.01]#20330
Merged
benpicco merged 1 commit intoRIOT-OS:2024.01-branchfrom Feb 2, 2024
Conversation
(cherry picked from commit fb9b6b9)
benpicco
approved these changes
Feb 2, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #20325
Contribution description
For the release tests we decided to randomize the PAN ID to not interfere with ongoing RIOT-based experiments in the testbed (see RIOT-OS/Release-Specs#300). However, lwIP currently does not include the Makefile to set the PAN ID at compile time. This fixes that.
Testing procedure
Apply the following patch
Then compile and flash
tests/pkg/lwipto a board that has an IEEE 802.15.4 radio. Open a terminal and reboot. The node should now printPANID: 0x0023. If you then recompile and flashtests/pkg/lwipwithDEFAULT_PAN_IDset to another value in the environment variables, e.g.DEFAULT_PAN_ID=0x1234, without this PR, the output will still bePANID: 0x0023, with this PR it will bePANID: 0x1234.Issues/PRs references
Required for RIOT-OS/Release-Specs#300.