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

22 lines
428 B
Makefile
Raw Normal View History

2022-02-28 21:57:58 +01:00
BOARD ?= nucleo-f767zi
include ../Makefile.tests_common
2020-09-03 09:29:26 +02:00
USEMODULE += shell
USEMODULE += can
USEMODULE += isrpipe
# define the CAN driver you want to use here
2020-08-25 22:08:09 +02:00
CAN_DRIVER ?= MCP2515
2020-08-25 22:08:09 +02:00
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