gd32-spl-usart main.c had to change to make it work
plakkiesza opened this issue · 2 comments
plakkiesza commented
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
maxgerhardt commented
Can you retest with the latest version https://github.com/CommunityGD32Cores/gd32-pio-projects/blob/main/gd32-spl-usart/src/main.c?
maxgerhardt commented
Closed due to no activity / confirmation.