tests: drivers: build_all: sensor: add icm42670
to ensure driver is built both with and without trigger enabled during CI Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
This commit is contained in:
parent
0b0c2e78e0
commit
58c07a53cc
3 changed files with 14 additions and 0 deletions
|
@ -39,6 +39,7 @@ CONFIG_HTS221=y
|
|||
CONFIG_I3G4250D=y
|
||||
CONFIG_ICM42605=y
|
||||
CONFIG_ICM42605_TRIGGER_NONE=y
|
||||
CONFIG_ICM42670=y
|
||||
CONFIG_IIS2DH=y
|
||||
CONFIG_IIS2DLPC=y
|
||||
CONFIG_IIS2ICLX=y
|
||||
|
|
|
@ -14,6 +14,7 @@ CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
|
|||
CONFIG_HMC5883L_TRIGGER_OWN_THREAD=y
|
||||
CONFIG_HTS221_TRIGGER_OWN_THREAD=y
|
||||
CONFIG_ICM42605_TRIGGER_GLOBAL_THREAD=y
|
||||
CONFIG_ICM42670_TRIGGER_OWN_THREAD=y
|
||||
CONFIG_IIS2DH_TRIGGER_OWN_THREAD=y
|
||||
CONFIG_IIS2DLPC_TRIGGER_OWN_THREAD=y
|
||||
CONFIG_IIS2ICLX_TRIGGER_OWN_THREAD=y
|
||||
|
|
|
@ -325,3 +325,15 @@ test_spi_i3g4250d: i3g4250d@3b {
|
|||
reg = <0x3b>;
|
||||
spi-max-frequency = <0>;
|
||||
};
|
||||
|
||||
test_spi_icm42670: icm42670@3c {
|
||||
compatible = "invensense,icm42670";
|
||||
label = "ICM42670";
|
||||
reg = <0x3c>;
|
||||
spi-max-frequency = <0>;
|
||||
int-gpios = <&test_gpio 0 0>;
|
||||
accel-hz = <800>;
|
||||
accel-fs = <16>;
|
||||
gyro-hz = <800>;
|
||||
gyro-fs = <2000>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue