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.
53 lines
482 B
Plaintext
53 lines
482 B
Plaintext
PC0,PC0
|
|
PC1,PC1
|
|
PC2,PC2
|
|
PC3,PC3
|
|
PC4,PC4
|
|
PC5,PC5
|
|
PC6,PC6
|
|
PC7,PC7
|
|
PC8,PC8
|
|
PC9,PC9
|
|
PC10,PC10
|
|
PC11,PC11
|
|
PC12,PC12
|
|
PC13,PC13
|
|
PC14,PC14
|
|
PC15,PC15
|
|
PB0,PB0
|
|
PB1,PB1
|
|
PB2,PB2
|
|
PB3,PB3
|
|
PB4,PB4
|
|
PB5,PB5
|
|
PB6,PB6
|
|
PB7,PB7
|
|
PB8,PB8
|
|
PB9,PB9
|
|
PB10,PB10
|
|
PB11,PB11
|
|
PB12,PB12
|
|
VUSB,PB13
|
|
USB1D_N,PB14
|
|
USB1D_P,PB15
|
|
PA0,PA0
|
|
PA1,PA1
|
|
PA2,PA2
|
|
PA3,PA3
|
|
PA4,PA4
|
|
PA5,PA5
|
|
PA6,PA6
|
|
PA7,PA7
|
|
PA8,PA8
|
|
PA9,PA9
|
|
PA10,PA10
|
|
PA11,PA11
|
|
PA12,PA12
|
|
PD2,PD2
|
|
BOOT0,BOOT0
|
|
PA15,PA15
|
|
UART3_TX,PD8
|
|
UART3_RX,PD9
|
|
UART3_RTS,PD12
|
|
UART3_CTS,PD11
|