Skip to content

Commit 3769938

Browse files
MaureenHelmnashif
authored andcommitted
boards: arm: Fix sensor shell sample for beagleconnect_freedom board
Commit 944ced6 enabled CONFIG_UART_CONSOLE=y for the beagleconnect_freedom board, which had the side effect of satisfying a required dependency for the sensor shell sample application and causing new build errors in the weekly full twister run. Fix the build errors by moving the board's light and humidity sensor nodes to be children of the I2C controller node. Signed-off-by: Maureen Helm <[email protected]>
1 parent 5594242 commit 3769938

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

boards/arm/beagle_bcf/beagleconnect_freedom.dts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,6 @@
6464
#size-cells = <0>;
6565
controller = <&i2c0>;
6666
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
67-
68-
light: opt3001-light@44 {
69-
status = "okay";
70-
compatible = "ti,opt3001";
71-
reg = <0x44>;
72-
};
73-
74-
humidity: hdc2010-humidity@41 {
75-
status = "okay";
76-
compatible = "ti,hdc2010";
77-
reg = <0x41>;
78-
};
7967
};
8068
};
8169

@@ -138,6 +126,18 @@
138126
compatible = "beagle,usbbridge";
139127
reg = <0x4>;
140128
};
129+
130+
light: opt3001-light@44 {
131+
status = "okay";
132+
compatible = "ti,opt3001";
133+
reg = <0x44>;
134+
};
135+
136+
humidity: hdc2010-humidity@41 {
137+
status = "okay";
138+
compatible = "ti,hdc2010";
139+
reg = <0x41>;
140+
};
141141
};
142142

143143
&spi0 {

0 commit comments

Comments
 (0)