tests/ztimer_underflow: allow testing ZTIMER_SEC
This commit is contained in:
parent
cc92a0aea3
commit
fc3e0b6055
@ -12,6 +12,10 @@ ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
|||||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_SEC)
|
||||||
|
USEMODULE += ztimer_sec
|
||||||
|
USEMODULE += ztimer_periph_rtc
|
||||||
|
endif
|
||||||
|
|
||||||
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)
|
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user