1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/xtimer_msg_receive_timeout
Martine Lenders ba2453d320
Merge pull request #8247 from aabadie/pr/tests/python_E305
tests: fix python style E305
2017-12-13 10:52:57 +01:00
..
tests Merge pull request #8247 from aabadie/pr/tests/python_E305 2017-12-13 10:52:57 +01:00
main.c
Makefile tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
README.md

test application for xtimer_msg_receive_timeout()

This test will sequentially start TEST_COUNT xtimers to send a IPC msg, alternating with an interval of TEST_PERIOD +/- 10%. Every time a timer was set, it will wait for a message for at most TEST_PERIOD microseconds. This should succeed with a message or fail with timeout in an alternating manner.

Default values are TEST_COUNT = 10, and TEST_PERIOD = 100ms = 100000us.