ports: Add LED pin aliases for all Arduino boards.
The standard Arduino pinout uses LEDR/G/B and LED_BUILTIN (if available). This patch adds aliases to match the standard pinout, while retaining LED_RED/GREEN/BLUE for compatibility with existing scripts and examples. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
committed by
Damien George
parent
8d9d74b6df
commit
4a2e510a87
@@ -179,6 +179,9 @@ UART6_RX,PC7
|
||||
#BOOT0,BOOT0
|
||||
DAC1,PA4
|
||||
DAC2,PA5
|
||||
LEDR,PI12
|
||||
LEDG,PJ13
|
||||
LEDB,PE3
|
||||
LED_RED,PI12
|
||||
LED_GREEN,PJ13
|
||||
LED_BLUE,PE3
|
||||
|
||||
|
@@ -180,6 +180,9 @@ USB_DP,PA12
|
||||
OSCEN,PH1
|
||||
DAC1,-PA4
|
||||
DAC2,-PA5
|
||||
LEDR,PE3
|
||||
LEDG,PC13
|
||||
LEDB,-PF4
|
||||
LED_RED,PE3
|
||||
LED_GREEN,PC13
|
||||
LED_BLUE,-PF4
|
||||
|
||||
|
@@ -203,6 +203,9 @@ UART8_RX,PJ9
|
||||
OSCEN,PH1
|
||||
DAC1,PA4
|
||||
DAC2,-PA5
|
||||
LEDR,PK5
|
||||
LEDG,PK6
|
||||
LEDB,PK7
|
||||
LED_RED,PK5
|
||||
LED_GREEN,PK6
|
||||
LED_BLUE,PK7
|
||||
|
||||
|
Reference in New Issue
Block a user