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/posix_sleep: fix for invalid RTT configurations [backport 2021.01] #15876

Merged

Conversation

fjmolinas
Copy link
Contributor

Backport of #15794

Contribution description

While testing RIOT-OS/Release-Specs#202 I found that posix_sleep was failing because of invalid RTT configurations. The proper fix is different than the one proposed here, I think it would mean adding a feature, but for a realease backport this is IMO the smallest change.

Testing procedure

Test on iotab-m3 now passes same for any kinetis or efm32 BOARD.

These CPU families have a non configurable RTT of 1Hz, not enough for
ztimer_msec to run on periph_rtt.

(cherry picked from commit bafcaec)
@fjmolinas fjmolinas added 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 Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Jan 28, 2021
Copy link
Member

@jia200x jia200x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@jia200x jia200x merged commit 36e102a into RIOT-OS:2021.01-branch Jan 28, 2021
@fjmolinas fjmolinas deleted the backport/2021.01/pr_fix_posix_sleep branch July 30, 2021 14:14
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 Process: release backport Integration Process: The PR is a release backport of a change previously provided to master 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