Skip to content

Commit 8a0940b

Browse files
str4t0mcfriedt
authored andcommitted
tests: drivers: enable shtc3 build
Enable shtc3 sensor for build_all test Signed-off-by: Thomas Stranger <[email protected]>
1 parent d25d385 commit 8a0940b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/drivers/build_all/sensor/i2c.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ test_i2c_sht3xd: sht3xd@23 {
237237
alert-gpios = <&test_gpio 0 0>;
238238
};
239239

240+
test_i2c_shtc3: SHTC3@70 {
241+
compatible = "sensirion,shtcx";
242+
label = "SHTC3";
243+
reg = <0x70>;
244+
chip = "shtc3";
245+
measure-mode = "normal";
246+
clock-stretching;
247+
};
248+
240249
test_i2c_si7006: si7006@24 {
241250
compatible = "silabs,si7006";
242251
label = "SI7006";

tests/drivers/build_all/sensor/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ CONFIG_MS5837=y
7373
CONFIG_OPT3001=y
7474
CONFIG_SBS_GAUGE=y
7575
CONFIG_SHT3XD=y
76+
CONFIG_SHTCX=y
7677
CONFIG_SI7006=y
7778
CONFIG_SI7055=y
7879
CONFIG_SI7060=y

0 commit comments

Comments
 (0)