From fc3e0b60555b66dba84b0b59d2e910a903a84a7e Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 7 Jan 2021 10:29:41 +0100 Subject: [PATCH] tests/ztimer_underflow: allow testing ZTIMER_SEC --- tests/ztimer_underflow/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ztimer_underflow/Makefile b/tests/ztimer_underflow/Makefile index 63098523a7..2a44cfd641 100644 --- a/tests/ztimer_underflow/Makefile +++ b/tests/ztimer_underflow/Makefile @@ -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)