1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 22:49:47 +01:00
RIOT/kconfigs/Kconfig.ztimer_only
Leandro Lanzieri 004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00

15 lines
626 B
Plaintext

# Include this for boards whose timer periph cannot generate a clock frequency
# suitable for xtimer with the available clock sources and dividers.
# This will use ztimer to perform the required frequency conversion.
# By default, xtimer is still used with ztimer as backed, unless
# ztimer_xtimer_compat is used.
config HAVE_ZTIMER_ONLY
bool
default y
select MODULE_ZTIMER if MODULE_XTIMER
select MODULE_ZTIMER_PERIPH_TIMER if MODULE_XTIMER
help
Indicates that the board cannot generate a clock frequency suitable for
xtimer and requires ztimer for conversion. ztimer is used as backend.