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
..

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.