2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2018-08-17 05:36:50 +08:00
|
|
|
name: APDS9960 sample
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2019-03-29 23:44:43 +08:00
|
|
|
sample.sensor.apds9960:
|
2018-10-11 19:50:14 +08:00
|
|
|
harness: console
|
2018-08-17 05:56:47 +08:00
|
|
|
platform_whitelist: reel_board
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: sensors
|
2017-12-09 02:15:58 +08:00
|
|
|
depends_on: i2c gpio
|
2018-10-11 19:50:14 +08:00
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: true
|
|
|
|
regex:
|
|
|
|
- "APDS9960 sample application"
|
|
|
|
- "ambient light intensity (.*), proximity (.*)"
|
|
|
|
fixture: fixture_i2c_apds9960
|
2019-03-31 23:31:22 +08:00
|
|
|
sample.sensor.apds9960.trigger:
|
2018-10-11 19:50:14 +08:00
|
|
|
harness: console
|
2018-09-10 22:48:52 +08:00
|
|
|
platform_whitelist: reel_board
|
2018-10-16 03:28:35 +08:00
|
|
|
tags: sensors
|
2018-09-10 22:48:52 +08:00
|
|
|
depends_on: i2c gpio
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
|
2018-10-11 19:50:14 +08:00
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
ordered: true
|
|
|
|
regex:
|
|
|
|
- "APDS9960 sample application"
|
|
|
|
- "Waiting for a threshold event"
|
|
|
|
- "ambient light intensity (.*), proximity (.*)"
|
|
|
|
fixture: fixture_i2c_apds9960
|