1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/candev/Makefile
2022-02-28 21:59:57 +01:00

22 lines
428 B
Makefile

BOARD ?= nucleo-f767zi
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