tests/ztimer_underflow: allow testing ZTIMER_SEC

This commit is contained in:
Marian Buschsieweke 2021-01-07 10:29:41 +01:00 committed by Karl Fessel
parent cc92a0aea3
commit fc3e0b6055

View File

@ -12,6 +12,10 @@ ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
endif
endif
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_SEC)
USEMODULE += ztimer_sec
USEMODULE += ztimer_periph_rtc
endif
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)