From 4157a2802bc1197eae738d204cd414d0d1bc0934 Mon Sep 17 00:00:00 2001 From: sheltonyu Date: Fri, 14 Apr 2023 13:51:05 +0800 Subject: [PATCH] [bsp/at32] add at32f435_437 uart interrupt functions macros --- .../libraries/rt_drivers/config/f435_437/uart_config.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bsp/at32/libraries/rt_drivers/config/f435_437/uart_config.h b/bsp/at32/libraries/rt_drivers/config/f435_437/uart_config.h index 6bbbef1514..f63cc515dd 100644 --- a/bsp/at32/libraries/rt_drivers/config/f435_437/uart_config.h +++ b/bsp/at32/libraries/rt_drivers/config/f435_437/uart_config.h @@ -18,6 +18,15 @@ extern "C" { #endif +#define UART1_IRQHandler USART1_IRQHandler +#define UART2_IRQHandler USART2_IRQHandler +#define UART3_IRQHandler USART3_IRQHandler +#define UART4_IRQHandler UART4_IRQHandler +#define UART5_IRQHandler UART5_IRQHandler +#define UART6_IRQHandler USART6_IRQHandler +#define UART7_IRQHandler UART7_IRQHandler +#define UART8_IRQHandler UART8_IRQHandler + #if defined(BSP_USING_UART1) #define UART1_CONFIG \ { \