1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_timer
Gunar Schorcht e496dd8dcf tests: add esp32-ci / esp8266-ci as external boards
Add `esp32-ci` and `esp8266-ci` as external boards to cover optional module `esp_hw_counter` (ESP32) and `esp_sw_timer` (ESP8266) by CI compilation.
2022-06-03 07:33:44 +02:00
..
tests tests: expect match \r\n or \s 2019-11-27 14:12:12 +01:00
app.config.test tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
main.c tests: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Makefile tests: add esp32-ci / esp8266-ci as external boards 2022-06-03 07:33:44 +02:00
README.md tests: add README.md for periph_timer 2018-11-29 16:24:51 +01:00

Periph Timer Test

About

This application will test all configured peripheral timers of the target platform. For each timer, it will set each channel with an incrementing timeout: CH0 is set to 5ms, CH1 to 10ms, CH2 to 15ms and so on.

Expected Result

The output should show that every channel fired after an evenly distributed amount of time, i.e. the diff values should be equal (with some jitter...).

Note

This test does however NOT show whether the timeouts and diffs were correct in relation to the expected real-time; use e.g. tests/xtimer_msg for this.