Skip to content

Commit 6928d6c

Browse files
committed
Add pin definitions to variant
1 parent 95cd483 commit 6928d6c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

variants/b_u585i_iot02a_stm32u585xx/variant.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@
1919
#define AR_INTERNAL1V8 4
2020
#define AR_EXTERNAL 5
2121
#define AR_INTERNAL AR_INTERNAL2V5
22+
23+
// RGB LEDs Pin Map
24+
#define LED3_R DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led3_red))
25+
#define LED3_G DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led3_green))
26+
#define LED3_B DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led3_blue))
27+
28+
#define LED4_R DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led4_red))
29+
#define LED4_G DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led4_green))
30+
#define LED4_B DIGITAL_PIN_GPIOS_FIND_NODE(DT_NODELABEL(led4_blue))

0 commit comments

Comments
 (0)