Skip to content

Commit db85952

Browse files
committed
STM32F031K6 Missing UART_RX Pin Def
PA3 on the STM32F031K6 can function as a USART1_RX pin.
1 parent a1914e1 commit db85952

File tree

1 file changed

+1
-0
lines changed
  • libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6

1 file changed

+1
-0
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/PeripheralPins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ const PinMap PinMap_UART_TX[] = {
109109
};
110110

111111
const PinMap PinMap_UART_RX[] = {
112+
{PA_3, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_USART1)},
112113
{PA_10, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_USART1)},
113114
{PA_15, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF1_USART1)}, // STDIO RX
114115
{PB_7, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF0_USART1)},

0 commit comments

Comments
 (0)