mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
tests/drivers/candev: prefer periph_can when available
This changes the app config to prefer periph_can whenever that feature is provided, and fall back to mcp2515 as default if not.
This commit is contained in:
parent
cefa182d2b
commit
e68d69f85e
@ -1,5 +1,7 @@
|
||||
include ../Makefile.drivers_common
|
||||
|
||||
FEATURES_OPTIONAL += periph_can
|
||||
|
||||
USEMODULE += shell
|
||||
USEMODULE += can
|
||||
USEMODULE += isrpipe
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
ifneq (,$(filter native native64,$(BOARD)))
|
||||
ifneq (,$(filter periph_can,$(FEATURES_USED)))
|
||||
CAN_DRIVER ?= PERIPH_CAN
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user