27a503f632
This follows the pattern of other peripherals (I2C, SPI) to specify the pins using pin objects instead of a pair of GPIO port and pin number. It makes it easier to customise the UART pins for a particular board.
36 lines
326 B
Plaintext
36 lines
326 B
Plaintext
D0,PC7
|
|
D1,PC6
|
|
D2,PA3
|
|
D3,PA2
|
|
D4,PB12
|
|
D5,PB8
|
|
D6,PB9
|
|
D7,PA1
|
|
D8,PA0
|
|
D9,PA6
|
|
D10,PB10
|
|
D11,PB15
|
|
D12,PB14
|
|
D13,PB13
|
|
SDA,PB6
|
|
SCL,PB7
|
|
A0,PC0
|
|
A1,PC1
|
|
A2,PC2
|
|
A3,PC3
|
|
A4,PC4
|
|
A5,PC5
|
|
LED,PA10
|
|
SW,PB11
|
|
PWR_LED,PC13
|
|
PWR_SD,PB1
|
|
PWR_HDR,PB2
|
|
PWR_ETH,PC15
|
|
RST_ETH,PD2
|
|
UART1_TX,PA9
|
|
UART3_TX,PD8
|
|
UART3_RX,PD9
|
|
UART3_RTS,PD12
|
|
UART3_CTS,PD11
|
|
UART5_TX,PC12
|