zephyr/samples/sensor/tmp108/sample.yaml

15 lines
292 B
YAML

sample:
name: TMP 108 Temperature Sensor Sample
tests:
sample.sensor.tmp108:
harness: console
tags: sensors
depends_on:
- i2c
- gpio
filter: dt_compat_enabled("ti,tmp108")
harness_config:
type: multi_line
regex:
- "temperature is *.*C"