Skip to content

Commit

Permalink
boards: arm: Fix sensor shell sample for beagleconnect_freedom board
Browse files Browse the repository at this point in the history
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 <maureen.helm@analog.com>
  • Loading branch information
MaureenHelm authored and nashif committed Nov 9, 2023
1 parent 5594242 commit 3769938
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions boards/arm/beagle_bcf/beagleconnect_freedom.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@
#size-cells = <0>;
controller = <&i2c0>;
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;

light: opt3001-light@44 {
status = "okay";
compatible = "ti,opt3001";
reg = <0x44>;
};

humidity: hdc2010-humidity@41 {
status = "okay";
compatible = "ti,hdc2010";
reg = <0x41>;
};
};
};

Expand Down Expand Up @@ -138,6 +126,18 @@
compatible = "beagle,usbbridge";
reg = <0x4>;
};

light: opt3001-light@44 {
status = "okay";
compatible = "ti,opt3001";
reg = <0x44>;
};

humidity: hdc2010-humidity@41 {
status = "okay";
compatible = "ti,hdc2010";
reg = <0x41>;
};
};

&spi0 {
Expand Down

0 comments on commit 3769938

Please sign in to comment.