tests: remove uneeded explicit inclusion of ztimer_periph_rt*
This commit is contained in:
parent
7c3360e4d6
commit
84ba92a99b
@ -2,10 +2,10 @@ include ../Makefile.tests_common
|
|||||||
|
|
||||||
USEMODULE += ztimer_usec
|
USEMODULE += ztimer_usec
|
||||||
|
|
||||||
# uncomment this to test using ztimer msec on rtt
|
# uncomment this to test using ztimer msec
|
||||||
#USEMODULE += ztimer_msec ztimer_periph_rtt
|
#USEMODULE += ztimer_msec
|
||||||
|
|
||||||
# uncomment this to test using ztimer sec on rtc
|
# uncomment this to test using ztimer sec
|
||||||
#USEMODULE += ztimer_sec ztimer_periph_rtc
|
#USEMODULE += ztimer_sec
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
@ -6,7 +6,6 @@ USEMODULE += ztimer
|
|||||||
USEMODULE += ztimer_usec
|
USEMODULE += ztimer_usec
|
||||||
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
||||||
USEMODULE += ztimer_msec
|
USEMODULE += ztimer_msec
|
||||||
USEMODULE += ztimer_periph_rtt
|
|
||||||
# the same for Kconfig
|
# the same for Kconfig
|
||||||
ifeq (1,$(TEST_KCONFIG))
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
||||||
@ -14,7 +13,6 @@ ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
|||||||
endif
|
endif
|
||||||
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_SEC)
|
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_SEC)
|
||||||
USEMODULE += ztimer_sec
|
USEMODULE += ztimer_sec
|
||||||
USEMODULE += ztimer_periph_rtc
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)
|
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user