CommunityGD32Cores / gd32-pio-projects

PlatformIO test projects for the new GD32 platform and arduino core
44 stars 10 forks source link

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

Closed plakkiesza closed 1 year ago

plakkiesza commented 2 years ago

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 2 years ago

Can you retest with the latest version https://github.com/CommunityGD32Cores/gd32-pio-projects/blob/main/gd32-spl-usart/src/main.c?

maxgerhardt commented 1 year ago

Closed due to no activity / confirmation.