2019-11-19 23:49:04 +08:00
|
|
|
sample:
|
|
|
|
name: LPS22HH Temperature and Pressure Monitor
|
|
|
|
tests:
|
2020-09-04 23:12:19 +08:00
|
|
|
sample.sensor.lps22hh:
|
2019-11-19 23:49:04 +08:00
|
|
|
harness: console
|
|
|
|
tags: sensors
|
|
|
|
depends_on: i2c
|
2020-09-04 23:12:19 +08:00
|
|
|
filter: dt_compat_enabled("st,lps22hh")
|
2019-11-19 23:49:04 +08:00
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: yes
|
|
|
|
regex:
|
|
|
|
- "Temperature: (.*)"
|
|
|
|
- "Pressure: (.*)"
|
2020-09-04 23:12:19 +08:00
|
|
|
fixture: fixture_i2c_lps22hh
|