Skip to content

Commit

Permalink
tests: build_all: add int-gpios in test_i2c_bmi160 to fix build issue
Browse files Browse the repository at this point in the history
After adding the interrupt support for bmi160 i2c instance, it needs to add
the int-gpios in the twister test's dts because the bmi160's trigger mode
is enabled by default.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
  • Loading branch information
lixuzha authored and nashif committed Feb 20, 2023
1 parent e9d587c commit 0a5e4e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/drivers/build_all/sensor/i2c.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ test_i2c_vcnl4040: vcnl4040@57 {
test_i2c_bmi160: bmi160@58 {
compatible = "bosch,bmi160";
reg = <0x58>;
int-gpios = <&test_gpio 0 0>;
};

test_i2c_bmi270: bmi270@59 {
Expand Down

0 comments on commit 0a5e4e4

Please sign in to comment.