cpu/native: pull xtimer when RTC is used

This commit is contained in:
Leandro Lanzieri 2020-09-09 16:59:18 +02:00
parent 239999fe73
commit 24d2578606
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -16,7 +16,8 @@ endif
ifeq (,$(filter stdio_%,$(USEMODULE))) ifeq (,$(filter stdio_%,$(USEMODULE)))
USEMODULE += stdio_native USEMODULE += stdio_native
endif endif
ifeq (,$(filter periph_rtc,$(USEMODULE)))
ifneq (,$(filter periph_rtc,$(USEMODULE)))
USEMODULE += xtimer USEMODULE += xtimer
endif endif