Minor clean ups

This commit is contained in:
Stefan Kerkmann
2021-07-10 11:47:42 +02:00
parent 771bbe8af7
commit 3db2089aa9
3 changed files with 17 additions and 20 deletions
@@ -12,7 +12,16 @@
extern "C" {
#endif
/* sipeed longan nano board UART com port */
#define SOC_DEBUG_UART USART0
#define GD32_COM0 USART0
#define GD32_COM_CLK RCU_USART0
#define GD32_COM_TX_PIN GPIO_PIN_9
#define GD32_COM_RX_PIN GPIO_PIN_10
#define GD32_COM_TX_GPIO_PORT GPIOA
#define GD32_COM_RX_GPIO_PORT GPIOA
#define GD32_COM_TX_GPIO_CLK RCU_GPIOA
#define GD32_COM_RX_GPIO_CLK RCU_GPIOA
#ifdef __cplusplus
}