[riot-notifications] [RIOT-OS/RIOT] sys/ztimer: add modules to Kconfig (#15716)
notifications at github.com
Fri Jan 8 09:29:11 CET 2021
@maribu commented on this pull request.
> +config HAVE_ZTIMER_BACKEND
+ Indicates that a ztimer backend is provided.
+endmenu # Backends
+ bool "Microseconds"
+ depends on MODULE_ZTIMER_PERIPH_TIMER
+ bool "Milliseconds"
+ depends on HAVE_ZTIMER_BACKEND
I think none. The `ZTIMER_USEC`, `ZTIMER_MSEC` and `ZTIMER_SEC` clocks are initialized in `ztimer_init()` in `sys/ztimer/auto_init.c` - but there the mock backend is not used.
The mock backed will only be used in tests for `ztimer`, where ztimer can be manually initialized by the test application. So the mock clock should IMO be hidden in `make menuconfig`.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications