ca26a8fe6a
tests/periph_timer_periodic: add error tolerance in timings
...
On a lot of platforms the peripheral timer fires in advance, adding a precision factor of 15% makes the test more reliable
2021-02-23 15:19:09 +01:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync
2021-01-20 17:36:14 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files
2020-11-06 15:58:00 +01:00
Francisco Molina
a70fad5747
tests/periph_timer_periodic: increase test margin for slow uarts
2020-10-07 17:30:20 +02:00
57f2bd9934
tests/periph_timer_periodic: Use fmt for in-irq printing
...
This replaces the printf statement in the timer callback with fmt-based
printing and a single puts. This is less heavy on the stack usage than
printf, making this test a bit easier to digest on the smaller
platforms.
2020-09-23 08:59:30 +02:00
Marian Buschsieweke
39ae9ec399
tests/periph_timer_periodic: Don't include xtimer.h
...
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
2020-09-16 20:28:11 +02:00
Francisco Molina
8747723392
tests/periph_timer_periodic: remove need for TIMER_CHANNEL_NUMOF
2020-08-31 09:38:33 +02:00
Benjamin Valentin
110a626b97
tests/periph_timer_periodic: lower CYCLE_MS
...
Reduce CYCLE_MS to 25 ms so the period also fits into a 16 bit 1 MHz
timer.
2020-08-09 22:55:22 +02:00
Benjamin Valentin
1e127e1ba8
tests/periph_timer_periodic: use TIMER_CHANNEL_NUMOF
2020-06-24 00:45:35 +02:00
Benjamin Valentin
96a3e91c3d
tests/periph_timer_periodic: add test for periodic timer
2020-05-28 17:37:42 +02:00