1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 22:52:45 +01:00
RIOT/tests/drivers/candev/Makefile.board.dep
Frederik Haxel 5ed0bafc92 examples, tests: Changes for the native64 board
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00

17 lines
449 B
Makefile

ifneq (,$(filter native native64,$(BOARD)))
CAN_DRIVER ?= PERIPH_CAN
endif
# 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
# Uncomment to enable MCP2515 reception filtering
# CFLAGS += "-DMCP2515_RECV_FILTER_EN=1"
else ifeq ($(CAN_DRIVER), CAN_ALT)
# other can modules can be defined here
endif