feat add 4G function for xishutong-arm32 board

This commit is contained in:
Liu_Weichao
2023-11-20 10:36:47 +08:00
parent 88e8cc4193
commit 94d3d37a19
2 changed files with 169 additions and 7 deletions
@@ -51,19 +51,19 @@ Modification:
#endif
#if defined(BSP_USING_UART4)
#define USART4_RX_PORT (GPIO_PORT_E)
#define USART4_RX_PIN (GPIO_PIN_07)
#define USART4_RX_PORT (GPIO_PORT_H)
#define USART4_RX_PIN (GPIO_PIN_10)
#define USART4_TX_PORT (GPIO_PORT_G)
#define USART4_TX_PIN (GPIO_PIN_00)
#define USART4_TX_PORT (GPIO_PORT_H)
#define USART4_TX_PIN (GPIO_PIN_09)
#endif
#if defined(BSP_USING_UART6)
#define USART6_RX_PORT (GPIO_PORT_H)
#define USART6_RX_PIN (GPIO_PIN_06)
#define USART6_RX_PIN (GPIO_PIN_08)
#define USART6_TX_PORT (GPIO_PORT_E)
#define USART6_TX_PIN (GPIO_PIN_06)
#define USART6_TX_PORT (GPIO_PORT_H)
#define USART6_TX_PIN (GPIO_PIN_07)
#endif
static void UartIsr(struct SerialBus *serial, struct SerialDriver *serial_drv, struct SerialHardwareDevice *serial_dev);