Skip to content

Commit 96d0773

Browse files
ananglcarlescufi
authored andcommitted
tests: drivers: w1: Enable arduino_i2c and arduino_serial explicitly
This test uses the arduino_i2c and arduino_serial DT nodes, so it should enable them explicitly, not assume they will be enabled by default for a given board. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 507f4b3 commit 96d0773

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/drivers/w1/w1_api/ds2484.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66

77
&arduino_i2c {
8+
status = "okay";
9+
810
w1_0: w1@18 {
911
compatible = "maxim,ds2484";
1012
reg = <0x18>;

tests/drivers/w1/w1_api/ds2485.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
&arduino_i2c {
2+
status = "okay";
3+
24
w1_0: w1@40 {
35
compatible = "maxim,ds2485";
46
reg = <0x40>;

tests/drivers/w1/w1_api/w1_serial.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66

77
&arduino_serial {
8+
status = "okay";
9+
810
w1_0: w1 {
911
compatible = "zephyr,w1-serial";
1012
};

0 commit comments

Comments
 (0)