Skip to content

Commit 95cd483

Browse files
committed
Add RGB LED 3 and 4 to the overlay
1 parent 0333bcc commit 95cd483

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

variants/b_u585i_iot02a_stm32u585xx/b_u585i_iot02a_stm32u585xx.overlay

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,40 @@
1111
zephyr,bt-hci = &usart1; // TODO remove
1212
zephyr,camera = &dcmi;
1313
};
14+
15+
leds {
16+
compatible = "gpio-leds";
17+
18+
led3_red: led3_red {
19+
gpios = <&gpioh 10 GPIO_ACTIVE_LOW>;
20+
label = "RGB LED 3 Red";
21+
};
22+
23+
led3_green: led3_green {
24+
gpios = <&gpioh 11 GPIO_ACTIVE_LOW>;
25+
label = "RGB LED 3 Green";
26+
};
27+
28+
led3_blue: led3_blue {
29+
gpios = <&gpioh 12 GPIO_ACTIVE_LOW>;
30+
label = "RGB LED 3 Blue";
31+
};
32+
33+
led4_red: led4_red {
34+
gpios = <&gpioh 13 GPIO_ACTIVE_LOW>;
35+
label = "RGB LED 4 Red";
36+
};
37+
38+
led4_green: led4_green {
39+
gpios = <&gpioh 14 GPIO_ACTIVE_LOW>;
40+
label = "RGB LED 4 Green";
41+
};
42+
43+
led4_blue: led4_blue {
44+
gpios = <&gpioh 15 GPIO_ACTIVE_LOW>;
45+
label = "RGB LED 4 Blue";
46+
};
47+
};
1448
};
1549

1650

0 commit comments

Comments
 (0)