1
0
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:
Marian Buschsieweke 2025-01-20 15:55:53 +01:00
parent cefa182d2b
commit e68d69f85e
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
include ../Makefile.drivers_common
FEATURES_OPTIONAL += periph_can
USEMODULE += shell
USEMODULE += can
USEMODULE += isrpipe

View File

@ -1,4 +1,4 @@
ifneq (,$(filter native native64,$(BOARD)))
ifneq (,$(filter periph_can,$(FEATURES_USED)))
CAN_DRIVER ?= PERIPH_CAN
endif