1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/candev/Makefile
Wouter Symons a7880ab98d test/candev: add candev test app with native support
This test app bypasses candll and uses the candev abstraction directly.
This has the limitation that you can only use one can driver and one can
device, which is in most use cases sufficient.
2020-03-10 18:13:15 +01:00

21 lines
392 B
Makefile

include ../Makefile.tests_common
USEMODULE += shell
USEMODULE += can
USEMODULE += isrpipe
# define the CAN driver you want to use here
CAN_DRIVER ?= native
ifeq ($(CAN_DRIVER), PERIPH_CAN)
# periph_can modules/variables go here
else ifeq ($(CAN_DRIVER), CAN_NATIVE)
# can_native modules/variables go here
endif
CFLAGS += -DCAN_DRIVER_$(CAN_DRIVER)
include $(RIOTBASE)/Makefile.include