1sample:
2  name: APDS9960 sample
3tests:
4  sample.sensor.apds9960:
5    harness: console
6    platform_allow:
7      - adafruit_qt_py_rp2040/rp2040
8      - reel_board
9    integration_platforms:
10      - reel_board
11    tags: sensors
12    extra_args:
13      - platform:adafruit_qt_py_rp2040/rp2040:SHIELD="adafruit_apds9960"
14    depends_on:
15      - i2c
16      - gpio
17    harness_config:
18      type: multi_line
19      ordered: true
20      regex:
21        - "APDS9960 sample application"
22        - "ambient light intensity (.*), proximity (.*)"
23      fixture: fixture_i2c_apds9960
24  sample.sensor.apds9960.trigger:
25    harness: console
26    platform_allow:
27      - reel_board
28      - mikroe_clicker_ra4m1/r7fa4m1ab3cfm # mikroe_ir_gesture_click shield
29    integration_platforms:
30      - reel_board
31      - mikroe_clicker_ra4m1/r7fa4m1ab3cfm
32    tags: sensors
33    depends_on:
34      - i2c
35      - gpio
36    extra_configs:
37      - CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
38    extra_args:
39      - platform:mikroe_clicker_ra4m1/r7fa4m1ab3cfm:SHIELD="mikroe_ir_gesture_click"
40    harness_config:
41      type: multi_line
42      ordered: true
43      regex:
44        - "APDS9960 sample application"
45        - "Waiting for a threshold event"
46        - "ambient light intensity (.*), proximity (.*)"
47      fixture: fixture_i2c_apds9960
48