1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/ztimer_underflow/Makefile
2021-04-01 15:31:40 +02:00

23 lines
531 B
Makefile

include ../Makefile.tests_common
TEST_ZTIMER_CLOCK ?= ZTIMER_USEC
USEMODULE += ztimer
USEMODULE += ztimer_usec
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
USEMODULE += ztimer_msec
USEMODULE += ztimer_periph_rtt
# the same for Kconfig
ifeq (1,$(TEST_KCONFIG))
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)
include $(RIOTBASE)/Makefile.include