[riot-notifications] [RIOT-OS/RIOT] tests/posix_semaphore: add (lack of) fe310 timer accuracy workaround (#11377)

Kaspar Schleiser notifications at github.com
Thu Apr 11 15:37:25 CEST 2019


### Contribution description

On hifive1, the test runs slightly longer than the default allows. This is probably caused by the board using a 32kHz timer as base for xtimer. This PR adds a workaround (allow up to 250usec/sec too long) only for the FE310 cpu.

### Testing procedure

- assert validity of fix
- see #11041 passing the test on all boards including hifive1

### Issues/PRs references

#11041
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11377

-- Commit Summary --

  * tests/posix_semaphore: add (lack of) fe310 timer accuracy workaround

-- File Changes --

    M tests/posix_semaphore/main.c (7)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11377.patch
https://github.com/RIOT-OS/RIOT/pull/11377.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11377
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190411/2e1caebb/attachment.html>


More information about the notifications mailing list