1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Marian Buschsieweke
7ea0cab22e
tests/ztimer_periodic: improve output and relax on native
- Explain the reason on why the test fails if it fails
- Relax offset for ZTIMER_USEC on native, as this depends on the jitter
  emitted by the non-realtime OS native is running on

fixes issue #18490
2022-08-21 13:12:43 +02:00
c4bba0e65d tests/*: CI blacklist microbit where it fails 2022-04-01 13:42:01 +02:00
Benjamin Valentin
64bd80d389 ztimer_periodic: make callback function return bool
The callback function of `ztimer_periodic` is only expected to have
two states.
So let it return `true` if the timer should keep repeating, `false`
otherwise.
2021-12-08 00:10:55 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
Hauke Petersen
f877ed9205 tests/ztimer_periodic: rename counter macro
The macro with name `N` is used by the MSP430 CPU macros and
triggers a compilation error if this example is build for that
platform. So this commit renames the repeat counter limit from
`N` to `REAPEAT`.
2021-08-25 08:01:05 +02:00
Fabian Hüßler
258681f012 tests/ztimer_periodic: fix name clash with rp2040 vendor header 2021-08-09 10:45:35 +02:00
Marian Buschsieweke
258d384fec
tests/ztimer_periodic: iterate over clocks
Instead of only testing for `ZTIMER_MSEC`, iterate over a list of
clocks and run the test for each. The reasoning is that this test
does not only test `ztimer_periodic`, but also that the used clock
backend operates correctly in a typical use case.
2021-06-16 13:11:13 +02:00
Francisco Molina
c80390f28b
ztimer: pull ztimer_periph_rtt for ZTIMER_MSEC if available 2021-06-16 11:18:25 +02:00
Leandro Lanzieri
6a0240d04b
sys/ztimer/kconfig: add defaults for backends 2021-03-04 10:48:27 +01:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
Francisco
5c5ec632a5
Merge pull request #15716 from leandrolanzieri/pr/kconfig/ztimer
sys/ztimer: add modules to Kconfig
2021-01-20 15:31:20 +01:00
Leandro Lanzieri
ee3e3578d4
tests/{x,z}timer: add Kconfig configuration files 2021-01-19 09:31:05 +01:00
Hauke Petersen
d54e08fb8a tests/ztimer_periodic: add call to ztimer_is_set() 2021-01-18 17:50:50 +01:00
Francisco Molina
7b38d0865f
tets/ztimer_periodic: blacklist native 2020-10-09 13:05:22 +02:00
7b30777429 tests/ztimer_periodic: initial commit 2020-09-29 23:04:39 +02:00