1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/event
Francisco Molina 81c5d5dbcc sys/event/timeout: split xtimer, ztimer backends, don't force usec
This PR makes `event_timeout` and `event_timeout_ztimer` two distinct
pseudomodules, where the only api difference is in the init function.

If only `event_timeout_ztimer` is selected then no default ZTIMER
backend is selected and the old init function is not implemented.

If only `event_timeout` is selected then `xtimer` is used unless
`ztimer_usec` is included. In which case the `xtimer` wrapper on top
of `ztimer` is used and `xtimer` is not directly selected. This
allows for the legacy api to be supported with `ztimer_usec` as
a drop-in replacement.

If `event_timeout` and `event_timeut_ztimer` are selected then
`event_timeout` SRC file is excluded from compilation.
2021-11-17 10:15:11 +01:00
..
callback.c add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
event.c sys/event: add event_wait_timeout_ztimer() 2021-03-31 10:11:29 +02:00
Kconfig sys/event/timeout: split xtimer, ztimer backends, don't force usec 2021-11-17 10:15:11 +01:00
Makefile sys/event/timeout: split xtimer, ztimer backends, don't force usec 2021-11-17 10:15:11 +01:00
periodic.c sys/event: add periodic event 2021-06-03 17:53:44 +02:00
thread.c sys/event/thread: add STACKSTEST flag 2021-09-24 16:20:35 +02:00
timeout_ztimer.c sys/event/timeout: split xtimer, ztimer backends, don't force usec 2021-11-17 10:15:11 +01:00
timeout.c sys/event/timeout: split xtimer, ztimer backends, don't force usec 2021-11-17 10:15:11 +01:00