samples: sensor: Relax twister constraints on thermometer sample
The thermometer sensor sample application can support any board that defines the `ambient-temp0` devicetree alias, but the restrictive `platform_allow` list prevented twister from running on all but two selected boards. Use a more flexible `dt_alias_exists` filter instead to allow running this sample on additional boards. Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
parent
11ddb268e0
commit
3f218c6cda
1 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,9 @@ tests:
|
|||
sample.sensor.thermometer:
|
||||
tags: sensors
|
||||
harness: sensor
|
||||
filter: dt_alias_exists("ambient-temp0")
|
||||
integration_platforms:
|
||||
- nrf52840dk/nrf52840
|
||||
platform_allow: nrf52840dk/nrf52840 frdm_k22f
|
||||
- nrf52840dk/nrf52840 # mcp9700a
|
||||
- frdm_k22f # tcn75a
|
||||
- robokit1 # ntc_thermistor
|
||||
- adi_eval_adin1110ebz # adt7420
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue