zephyr/samples/drivers/can/sample.yaml
Fabio Baltieri bbb6b17403 samples: can: build with mcp2515 driver
Add a test config using the mcp2515 sheild to samples/drivers/can so we
catch build issues.

Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
2022-02-24 09:09:02 -08:00

16 lines
381 B
YAML

sample:
name: CAN driver sample
tests:
sample.drivers.can:
tags: can
depends_on: can
filter: dt_chosen_enabled("zephyr,canbus")
harness: console
harness_config:
type: one_line
regex:
- "Counter received: (.*)"
sample.drivers.can.dfrobot_can_bus_v2_0:
platform_allow: nrf52840dk_nrf52840
extra_args: SHIELD=dfrobot_can_bus_v2_0