boards: arm: nucleo_l452re: fix USART2 RX pin

Correct the RX pin of USART2 in nucleo_l452re.
It was set to PA15 instead of PA3

Signed-off-by: Julien D'ascenzio <julien.dascenzio@paratronic.fr>
This commit is contained in:
Julien D'ascenzio 2020-01-23 14:25:45 +00:00 committed by Maureen Helm
parent b6b20421fa
commit c70702ce43

View File

@ -20,7 +20,7 @@ static const struct pin_config pinconf[] = {
#endif /* CONFIG_UART_1 */
#ifdef CONFIG_UART_2
{STM32_PIN_PA2, STM32L4X_PINMUX_FUNC_PA2_USART2_TX},
{STM32_PIN_PA15, STM32L4X_PINMUX_FUNC_PA15_USART2_RX},
{STM32_PIN_PA3, STM32L4X_PINMUX_FUNC_PA3_USART2_RX},
#endif /* CONFIG_UART_2 */
#ifdef CONFIG_I2C_1
{STM32_PIN_PB6, STM32L4X_PINMUX_FUNC_PB6_I2C1_SCL},