Skip to content

Commit

Permalink
tests: drivers: sensor: add build_all for lsm6dsv16x
Browse files Browse the repository at this point in the history
Add a build test for the i3c lsm6dsv16x.

Signed-off-by: Ryan McClelland <[email protected]>
  • Loading branch information
XenuIsWatching authored and kartben committed Dec 18, 2024
1 parent eb93ba0 commit 73af324
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/drivers/build_all/sensor/i3c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ test_i3c_ilps22qs: ilps22qs@400000803E0000004 {
reg = <0x3 0x00000803 0xE0000004>;
assigned-address = <0x4>;
};

test_i3c_lsm6dsv16x: lsm6dsv16x@500000803E0000004 {
compatible = "st,lsm6dsv16x";
reg = <0x5 0x00000803 0xE0000004>;
assigned-address = <0x5>;
int1-gpios = <&test_gpio 0 0>;
int2-gpios = <&test_gpio 0 0>;
accel-range = <LSM6DSV16X_DT_FS_8G>;
accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
gyro-range = <LSM6DSV16X_DT_FS_2000DPS>;
gyro-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>;
};

0 comments on commit 73af324

Please sign in to comment.