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

sys/ztimer: build ztimer_periph_timer if ztimer_periph_lptimer is used

ztimer_periph_lptimer is uses the implementation of ztimer_periph_timer
This commit is contained in:
Jue 2022-10-26 20:52:42 +02:00
parent 159749e1f0
commit bd603249a5

View File

@ -41,6 +41,10 @@ ifneq (,$(filter ztimer_convert_%,$(USEMODULE)))
USEMODULE += ztimer_convert
endif
ifneq (,$(filter ztimer_periph_lptimer,$(USEMODULE)))
USEMODULE += ztimer_periph_timer
endif
ifneq (,$(filter ztimer_periph_timer,$(USEMODULE)))
FEATURES_REQUIRED += periph_timer
endif