tests: expand sensor build testing by enabling more sensors

This will help catch build issues with sensors by enabling all sensors
we have into one single application using all supported IOs.

Change-Id: Id8c201b8ae9b74dccc62d6440899ff487ea09d43
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-10-07 07:44:09 -04:00 committed by Anas Nashif
commit 98eb3b26a0
8 changed files with 34 additions and 10 deletions

View file

@ -1,5 +1,5 @@
KERNEL_TYPE = nano
BOARD ?= arduino_101
CONF_FILE = prj_$(BOARD).conf
BOARD ?= quark_d2000_crb
CONF_FILE = prj.conf
include ${ZEPHYR_BASE}/Makefile.inc

View file

@ -0,0 +1,28 @@
CONFIG_NANO_TIMEOUTS=y
CONFIG_I2C=y
CONFIG_ADC=y
CONFIG_GPIO=y
CONFIG_SPI=y
CONFIG_SENSOR=y
CONFIG_LSM9DS0_MFD=y
CONFIG_AK8975=y
CONFIG_BMA280=y
CONFIG_BMC150_MAGN=y
CONFIG_BME280=y
CONFIG_DHT=y
CONFIG_HDC1008=y
CONFIG_HMC5883L=y
#CONFIG_HP206C=y
CONFIG_ISL29035=y
CONFIG_LIS3DH=y
CONFIG_LIS3MDL=y
CONFIG_LPS25HB=y
CONFIG_LSM2DS0=y
CONFIG_LSM2DS0_GYRO=y
CONFIG_MAX44009=y
CONFIG_MCP9808=y
CONFIG_MPU6050=y
CONFIG_SH3XD=y
CONFIG_SX9500=y
CONFIG_TMP007=y
CONFIG_TMP112=y

View file

@ -0,0 +1,4 @@
[test_sensor_build]
build_only = true
tags = drivers
platform_whitelist = arduino_101_sss quark_d2000_crb

View file

@ -1,4 +0,0 @@
CONFIG_NANO_TIMEOUTS=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_LSM9DS0_MFD=y

View file

@ -1,4 +0,0 @@
[test_sensor_lsm9ds0_mfd]
build_only = true
tags = drivers
platform_whitelist = arduino_101