1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/candev/Makefile
2020-10-07 21:22:42 +02:00

20 lines
404 B
Makefile

include ../Makefile.tests_common
USEMODULE += shell
USEMODULE += can
USEMODULE += isrpipe
# define the CAN driver you want to use here
CAN_DRIVER ?= MCP2515
ifeq ($(CAN_DRIVER), PERIPH_CAN)
FEATURES_REQUIRED += periph_can
else ifeq ($(CAN_DRIVER), MCP2515)
USEMODULE += mcp2515
else ifeq ($(CAN_DRIVER), CAN_ALT)
# other can modules can be defined here
endif
include $(RIOTBASE)/Makefile.include