2022-03-03 14:28:49 +01:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
USEMODULE += test_utils_netdev_eth_minimal
|
|
|
|
|
2020-03-23 18:46:57 +01:00
|
|
|
# the driver to test
|
2021-12-07 19:35:53 +01:00
|
|
|
USEMODULE += dose
|
2020-03-23 18:46:57 +01:00
|
|
|
|
2021-11-10 15:18:56 +01:00
|
|
|
# compile-test dose_watchdog on select boards
|
|
|
|
ifneq (,$(filter samr21-xpro, $(BOARD)))
|
|
|
|
# xtimer uses timer 1 on this board
|
|
|
|
CFLAGS += -DDOSE_TIMER_DEV=TIMER_DEV\(0\)
|
|
|
|
USEMODULE += dose_watchdog
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter same54-xpro, $(BOARD)))
|
|
|
|
CFLAGS += -DDOSE_TIMER_DEV=TIMER_DEV\(1\)
|
|
|
|
USEMODULE += dose_watchdog
|
|
|
|
endif
|
|
|
|
|
2022-03-03 14:28:49 +01:00
|
|
|
INCLUDES += -I$(APPDIR)
|
|
|
|
|
2022-03-02 10:57:57 +01:00
|
|
|
SHOULD_RUN_KCONFIG ?=
|
|
|
|
|
2022-03-03 14:28:49 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|