1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/ztimer_xsec
2021-04-01 18:19:15 +02:00
..
tests tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
app.config.test tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
main.c tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
Makefile tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
Makefile.ci tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00
README.md tests/ztimer_xsec: add a simple high level ztimer test 2021-04-01 18:19:15 +02:00

Introduction

This application tests the high abstraction level ztimer clocks usec, msec and sec by locking three mutexes and waiting for them to be unlocked by ZTIMER_USEC, ZTIMER_MSEC and ZTIMER_SEC The tests succeeds if the board running the test does not get stuck.

ZTIMER_MSEC and ZTIMER_SEC will be configured following the rules described in the ztimer documentation (one may want to use extra ztimer_perih_*). Timing information is provided for human analysis it is not checked by automatic testing, since they are system and runtime dependent, there are other tests that (partially) cover the accuracy of timers.