1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_dose/Makefile
2022-01-18 15:41:38 +01:00

17 lines
417 B
Makefile

# 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
include ../driver_netdev_common/Makefile.netdev.mk