Skip to content

Commit 539a47b

Browse files
rdagherJeppe Odgaard
authored andcommitted
boards: st: nucleo_l152re: fix LED polarity in device tree
Fix incorrectly defined LED polarity (GPIO_ACTIVE_LOW → GPIO_ACTIVE_HIGH) to match hardware schematic and ensure consistent GPIO API behavior. Fixes: zephyrproject-rtos#87424 Link: https://www.st.com/en/evaluation-tools/nucleo-l152re.html#cad-resources Signed-off-by: Roudy Dagher <[email protected]>
1 parent 0c12f67 commit 539a47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/nucleo_l152re/nucleo_l152re.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
leds: leds {
2626
compatible = "gpio-leds";
2727
green_led_0: led_0 {
28-
gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
28+
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
2929
label = "User LD2";
3030
};
3131
};

0 commit comments

Comments
 (0)