Skip to content
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/lorawan: disable loramac state persistence on EEPROM #17969

Conversation

aabadie
Copy link
Contributor

@aabadie aabadie commented Apr 20, 2022

Contribution description

This is an attempt to fix the problem with examples/loramac raised in the 2022.04 release tests when the EEPROM of a board under test already contains a loramac stack state from a previous user.

The proposed fix is to simply disable the use of periph_eeprom by default. This way no previously stored stack state is reloaded and the test should succeed in any case.

A comment is added to explain how to reenable that feature and how to avoid the same issues as in the release tests.

Testing procedure

  • Green CI
  • make test-with-config should work.

Issues/PRs references

This is an attempt to fix the LoRaWAN failing release tests: RIOT-OS/Release-Specs#244
Might also fix #17907

The code is kept but disabled by default. A comment explains how to avoid issues when enabling it
@github-actions github-actions bot added the Area: examples Area: Example Applications label Apr 20, 2022
@aabadie aabadie added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch labels Apr 20, 2022
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Apr 20, 2022
@OlegHahm OlegHahm merged commit e64b1bd into RIOT-OS:master Apr 20, 2022
@aabadie aabadie deleted the pr/examples/lorawan_comment_out_eeprom_support branch April 20, 2022 19:44
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: examples Area: Example Applications CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: needs backport Integration Process: The PR is required to be backported to a release or feature branch Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

semtech_loramac_init blocking
4 participants