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 <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
507f4b31d1
commit
96d0773fcf
3 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
*/
|
||||
|
||||
&arduino_i2c {
|
||||
status = "okay";
|
||||
|
||||
w1_0: w1@18 {
|
||||
compatible = "maxim,ds2484";
|
||||
reg = <0x18>;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
&arduino_i2c {
|
||||
status = "okay";
|
||||
|
||||
w1_0: w1@40 {
|
||||
compatible = "maxim,ds2485";
|
||||
reg = <0x40>;
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
*/
|
||||
|
||||
&arduino_serial {
|
||||
status = "okay";
|
||||
|
||||
w1_0: w1 {
|
||||
compatible = "zephyr,w1-serial";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue