mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/driver_dose: test dose_watchdog on select boards
This commit is contained in:
parent
ddf80a8bdb
commit
527d1bf559
@ -1,4 +1,16 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user