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

tests/periph_timer_{periodic, short_relative_set}: Drop include of xtimer.h #15035

Merged
merged 2 commits into from
Sep 17, 2020

Conversation

maribu
Copy link
Member

@maribu maribu commented Sep 16, 2020

Contribution description

These tests don't use the xtimer module, but still include xtimer.h. This leads to compilation errors in #14799. This drops the #include of xtimer.h and replicates the fall-back logic in xtimer.h needed for compilation.

This is certainly not the best and final solution. IMO, it would be nice to add a function to periph_timer that allows iterating over supported frequencies. But let's get this in as intermediate solution until such a feature is added.

Testing procedure

Generated binaries should not change.

Issues/PRs references

Split out of #14799

Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
@maribu maribu added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: tests Area: tests and testing framework Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer labels Sep 16, 2020
@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 Sep 16, 2020
@benpicco benpicco merged commit acf14f8 into RIOT-OS:master Sep 17, 2020
@maribu
Copy link
Member Author

maribu commented Sep 17, 2020

Hooray, I think this was the last dependency to #14799. Thank you very much :-)

@maribu maribu deleted the test_periph_timer_etc branch September 17, 2020 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer 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.

2 participants