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