tests: drivers: can: api: add build-only test for MCP2515

Add a build-only test for the Microchip MCP2515 SPI CAN controller
driver since no in-tree boards have this chip.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-04-04 09:53:03 +02:00 committed by Carles Cufí
commit b71393963a

View file

@ -3,3 +3,8 @@ tests:
tags: drivers can tags: drivers can
depends_on: can depends_on: can
filter: dt_chosen_enabled("zephyr,canbus") filter: dt_chosen_enabled("zephyr,canbus")
drivers.can.api.mcp2515:
tags: drivers can
depends_on: arduino_spi arduino_gpio
extra_args: SHIELD=dfrobot_can_bus_v2_0
build_only: true