zephyr/tests/drivers/build_all
Armando Visconti c380142920 drivers/sensor: iis2iclx: add multi-instance
Make this driver multi-instance and use the new API.

Notes for sensorhub mode:
In case of multiples devices it is possible that some of them
has i2c slaves attached to it (sensorhub mode) but not the
others. Since the driver is configured in the same way for
all the instances (CONFIG_SENSORHUB=y), the routine that initialize
the sensorhub part does not fail anymore in case no slaves
are found for a particular instance. Instead, those non-sensorhub
driver instances will set the shub_inited flag to false and
will totally ignore the feature.

Notes for triggers:
In case of multiples devices the device pin the interrupt wire is
attached to can be different (INT1 or INT2 pin). So, this
information has been moved in DTS and then stored in the
specific instance config structure.
Currently the driver is able to handle a sngle interrupt line
at a time attached to either INT1 or INT2.
MOreover, the interrupt initialization for a driver instance proceed
only if the drdy has been configured in its DT, else it returns ok.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2020-11-11 13:17:18 +01:00
..
boards tests/samples: add samples for Serpente board 2020-09-04 09:25:02 -05:00
src
adc.conf
app.overlay tests: drivers: build_all: Rework modem test to be more generic 2020-10-23 08:53:38 -05:00
CMakeLists.txt
dac.conf
drivers.conf
eeprom.conf
ethernet.conf drivers: eth: add driver for w5500 Ethernet Controller 2020-10-02 11:34:57 +02:00
gpio.conf
gpio.dtsi
i2c.dtsi drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
modem_ublox_sara.conf tests: drivers: build_all: Rework modem test to be more generic 2020-10-23 08:53:38 -05:00
modem.conf tests: drivers: build_all: Rework modem test to be more generic 2020-10-23 08:53:38 -05:00
prj.conf
README.txt
sensors_a_h.conf
sensors_i_z.conf
sensors_stmemsc_trigger.conf drivers/sensor: add support to IIS2ICLX accelerometer 2020-10-15 09:57:47 -05:00
sensors_stmemsc.conf drivers/sensor: add support to IIS2ICLX accelerometer 2020-10-15 09:57:47 -05:00
sensors_trigger_a_h.conf
sensors_trigger_i_z.conf drivers: sensor: Add VCNL4040 driver 2020-09-04 13:03:12 -05:00
spi.dtsi drivers/sensor: iis2iclx: add multi-instance 2020-11-11 13:17:18 +01:00
testcase.yaml tests: drivers: build_all: Rework modem test to be more generic 2020-10-23 08:53:38 -05:00
uart.dtsi tests: drivers: build_all: Rework modem test to be more generic 2020-10-23 08:53:38 -05:00

Overview
--------

Build tests for drivers and sensors on all platforms.

This test might now work for some of the drivers, those need to be addressed in
other tests targeting those special cases.

Tests
-----

drivers:
	build all drivers

sensors_a_m:
	build sensors with name beginning a through m.

sensors_n_z:
	build sensors with name beginning n through z.

sensors_trigger:
	build sensors with trigger option enabled