Skip to content

Commit

Permalink
[bsp/at32] add at32f435_437 uart interrupt functions macros
Browse files Browse the repository at this point in the history
  • Loading branch information
sheltonyu authored and mysterywolf committed Apr 14, 2023
1 parent 60b0f9d commit 4157a28
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bsp/at32/libraries/rt_drivers/config/f435_437/uart_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
{ \
Expand Down

0 comments on commit 4157a28

Please sign in to comment.