1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/ztimer_underflow
Francisco 9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
..
tests
app.config.msec.test
app.config.test sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
main.c
Makefile tests/ztimer_underflow: allow testing ZTIMER_SEC 2021-04-01 15:31:40 +02:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md

Introduction

This test application underflows ztimer clocks by setting a time offset of zero. The tests succeeds if the board running the test does not get stuck.

ZTIMER_USEC

Set the environment variable TEST_ZTIMER_CLOCK=ZTIMER_USEC. If the test gets stuck, increase CONFIG_ZTIMER_USEC_MIN.

ZTIMER_MSEC

Set the environment variable TEST_ZTIMER_CLOCK=ZTIMER_MSEC. If the test gets stuck, increase RTT_MIN_OFFSET.