1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/boards/ztimer_only.dep.mk
2022-03-17 14:37:40 +01:00

12 lines
441 B
Makefile

# 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, ztimer_xtimer_compat is used unless xtimer_on_ztimer is
# selected.
ifneq (,$(filter xtimer,$(USEMODULE)))
ifeq (,$(filter xtimer_on_ztimer,$(USEMODULE)))
USEMODULE += ztimer_xtimer_compat
endif
endif