CommunityGD32Cores/gd32-pio-projects

gd32-spl-usart main.c had to change to make it work

plakkiesza opened this issue · 2 comments

Line 43 and 44 are as follows
#endif
#else

This confused me a bit.

The following was wrong for my board(gd32L233kt6
#define UART_TX_AF GPIO_AF_1
#define UART_RX_AF GPIO_AF_1

it needs to be
#define UART_TX_AF GPIO_AF_7
#define UART_RX_AF GPIO_AF_7

Closed due to no activity / confirmation.