From 60a493b374fd8ca16cebf7b0bd77ba430bb498d9 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Mon, 14 Aug 2023 20:38:45 +0200 Subject: [PATCH] Fix AT32 UART 7 and 8 (#13027) --- src/main/drivers/at32/serial_uart_at32f43x.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/at32/serial_uart_at32f43x.c b/src/main/drivers/at32/serial_uart_at32f43x.c index f4acee784..b1b8262c4 100644 --- a/src/main/drivers/at32/serial_uart_at32f43x.c +++ b/src/main/drivers/at32/serial_uart_at32f43x.c @@ -287,13 +287,13 @@ const uartHardware_t uartHardware[UARTDEV_COUNT] = { #endif .rxPins = { { DEFIO_TAG_E(PB3), GPIO_MUX_8 }, - { DEFIO_TAG_E(PC0), GPIO_MUX_8 }, + { DEFIO_TAG_E(PC1), GPIO_MUX_8 }, { DEFIO_TAG_E(PE7), GPIO_MUX_8 }, { DEFIO_TAG_E(PF6), GPIO_MUX_8 }, }, .txPins = { { DEFIO_TAG_E(PB4), GPIO_MUX_8 }, - { DEFIO_TAG_E(PC1), GPIO_MUX_8 }, + { DEFIO_TAG_E(PC0), GPIO_MUX_8 }, { DEFIO_TAG_E(PE8), GPIO_MUX_8 }, { DEFIO_TAG_E(PF7), GPIO_MUX_8 }, }, @@ -322,10 +322,14 @@ const uartHardware_t uartHardware[UARTDEV_COUNT] = { .rxPins = { { DEFIO_TAG_E(PC3), GPIO_MUX_8 }, { DEFIO_TAG_E(PC9), GPIO_MUX_7 }, + { DEFIO_TAG_E(PD14), GPIO_MUX_8 }, + { DEFIO_TAG_E(PE0), GPIO_MUX_8 }, }, .txPins = { { DEFIO_TAG_E(PC2), GPIO_MUX_8 }, { DEFIO_TAG_E(PC8), GPIO_MUX_7 }, + { DEFIO_TAG_E(PD13), GPIO_MUX_8 }, + { DEFIO_TAG_E(PE1), GPIO_MUX_8 }, }, .rcc = RCC_APB1(UART8), .irqn = UART8_IRQn, -- 2.11.4.GIT