2020-01-27 15:49:37 +01:00
|
|
|
include ../Makefile.tests_common
|
2020-09-03 09:29:26 +02:00
|
|
|
|
|
|
|
# the test currently only works with can_linux, so on "native"
|
2020-08-22 11:28:09 +02:00
|
|
|
BOARD_WHITELIST := native
|
2020-01-27 15:49:37 +01:00
|
|
|
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += can
|
|
|
|
USEMODULE += isrpipe
|
|
|
|
|
|
|
|
# define the CAN driver you want to use here
|
2020-08-22 11:28:09 +02:00
|
|
|
CAN_DRIVER ?= CAN_NATIVE
|
|
|
|
|
2020-01-27 15:49:37 +01:00
|
|
|
ifeq ($(CAN_DRIVER), PERIPH_CAN)
|
|
|
|
# periph_can modules/variables go here
|
|
|
|
|
|
|
|
else ifeq ($(CAN_DRIVER), CAN_NATIVE)
|
|
|
|
# can_native modules/variables go here
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|