1sample:
2  name: Temperature Sensor
3common:
4  filter: dt_alias_exists("ambient-temp0")
5  harness: console
6tests:
7  sample.sensor.thermometer:
8    tags: sensors
9    harness_config:
10      fixture: sensor_ambient_temp
11      type: multi_line
12      regex:
13        - "Thermometer Example (.*)"
14        - "Temperature device is 0x[0-9|a-z]+, name is [a-z|0-9]+@[a-z|0-9]+"
15        - "Temperature is [0-9|.]+°C"
16    integration_platforms:
17      - nrf52840dk/nrf52840   # mcp9700a
18      - frdm_k22f             # tcn75a
19      - robokit1              # ntc_thermistor
20      - adi_eval_adin1110ebz  # adt7420
21    extra_args:
22      - platform:mimxrt1180_evk/mimxrt1189/cm33:SHIELD=p3t1755dp_ard_i2c
23      - platform:mimxrt1180_evk/mimxrt1189/cm7:SHIELD=p3t1755dp_ard_i2c
24      - platform:frdm_mcxn236/mcxn236:SHIELD=p3t1755dp_ard_i2c
25      - platform:mimxrt700_evk/mimxrt798s/cm33_cpu0:SHIELD=p3t1755dp_ard_i2c
26  sample.sensor.thermometer_i3c:
27    tags: sensors
28    harness_config:
29      fixture: sensor_ambient_temp_i3c
30      type: multi_line
31      regex:
32        - "Thermometer Example (.*)"
33        - "Temperature device is 0x[0-9|a-z]+, name is [a-z|0-9]+@[a-z|0-9]+"
34        - "Temperature is [0-9|.]+°C"
35    integration_platforms:
36      - frdm_mcxn947/mcxn947/cpu0 # p3t1755
37    depends_on:
38      - i3c
39    filter: dt_alias_exists("ambient-temp0")
40    extra_args:
41      - platform:mimxrt1180_evk/mimxrt1189/cm33:SHIELD=p3t1755dp_ard_i3c
42      - platform:mimxrt1180_evk/mimxrt1189/cm7:SHIELD=p3t1755dp_ard_i3c
43      - platform:frdm_mcxn236/mcxn236:SHIELD=p3t1755dp_ard_i3c
44