1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/drivers/dose/Makefile

25 lines
531 B
Makefile

include ../Makefile.drivers_common
USEMODULE += test_utils_netdev_eth_minimal
# the driver to test
USEMODULE += dose
# 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
INCLUDES += -I$(APPDIR)
SHOULD_RUN_KCONFIG ?=
include $(RIOTBASE)/Makefile.include