Skip to content

Commit

Permalink
test: add icm42688 to build_all/sensor test
Browse files Browse the repository at this point in the history
Add a node for the icm42688 so that it builds as a part of the CI.

Signed-off-by: Yuval Peress <[email protected]>
  • Loading branch information
yperess committed Jan 10, 2023
1 parent c6425f2 commit 8ca6650
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/drivers/build_all/sensor/spi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,13 @@ test_spi_bme680: bme680@27 {
reg = <0x27>;
spi-max-frequency = <0>;
};

test_spi_icm426888: icm42688@28 {
compatible = "invensense,icm42688";
reg = <0x28>;
spi-max-frequency = <24000000>;
accel-hz = <32000>;
accel-fs = <16>;
gyro-hz = <32000>;
gyro-fs = <2000>;
};

0 comments on commit 8ca6650

Please sign in to comment.