Skip to content

Commit

Permalink
tests: build_all: Add missing dts fixups for apds9960
Browse files Browse the repository at this point in the history
The apds9960 sensor driver recently added support for trigger mode, but
the gpio dts fixups weren't added to the build_all test. Adds the
missing dts fixups and updates the sensor trigger test to include the
apds9960 sensor driver.

Signed-off-by: Maureen Helm <[email protected]>
  • Loading branch information
MaureenHelm authored and carlescufi committed Sep 21, 2018
1 parent 0a73ea0 commit d2d0764
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/drivers/build_all/dts.fixup
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#ifndef CONFIG_APDS9960_DRV_NAME
#define CONFIG_APDS9960_DRV_NAME ""
#define CONFIG_APDS9960_I2C_DEV_NAME ""
#define CONFIG_APDS9960_GPIO_DEV_NAME ""
#define CONFIG_APDS9960_GPIO_PIN_NUM 0
#endif

#ifndef CONFIG_CCS811_NAME
Expand Down
2 changes: 2 additions & 0 deletions tests/drivers/build_all/sensors_trigger_a_h.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CONFIG_ADXL372=y
CONFIG_ADXL372_TRIGGER_OWN_THREAD=y
CONFIG_AMG88XX=y
CONFIG_AMG88XX_TRIGGER_OWN_THREAD=y
CONFIG_APDS9960=y
CONFIG_APDS9960_TRIGGER_GLOBAL_THREAD=y
CONFIG_BMA280=y
CONFIG_BMA280_TRIGGER_OWN_THREAD=y
CONFIG_BMC150_MAGN=y
Expand Down

0 comments on commit d2d0764

Please sign in to comment.