zephyr/samples/sensor/bme280/sample.yaml
Steve Boylan 0341c6cbcf samples: sensor: bme280: Demonstrate RP2040 PIO
Demonstrate use of the Raspberry Pi Pico PIO SPI driver.
Added rpi_pico test cases to sample.yaml

Signed-off-by: Steve Boylan <stephen.boylan@beechwoods.com>
2023-09-20 20:18:54 +01:00

41 lines
1 KiB
YAML

sample:
name: BME280 Sensor sample
tests:
sample.sensor.bme280:
harness: console
tags: sensors
platform_allow:
- adafruit_feather_m0_basic_proto
- rpi_pico
integration_platforms:
- adafruit_feather_m0_basic_proto
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_i2c_bme280
sample.sensor.bme280.spi:
harness: console
tags: sensors
depends_on:
- spi
- bme280
extra_args: "DTC_OVERLAY_FILE=arduino_spi.overlay"
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_spi_bme280
sample.sensor.bme280.rpi_pico.pio:
harness: console
tags: sensors
platform_allow: rpi_pico
integration_platforms:
- rpi_pico
extra_args: "DTC_OVERLAY_FILE=rpi_pico_spi_pio.overlay"
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_rpi_pico_pio_spi_bme280