File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
libraries/SrcWrapper/src/stm32 Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ void USART3_IRQHandler(void)
914914 if (uart_handlers [UART3_INDEX ] != NULL ) {
915915 HAL_UART_IRQHandler (uart_handlers [UART3_INDEX ]);
916916 }
917- #if defined(STM32F0xx )
917+ #if defined(STM32F0xx ) || defined( STM32G0xx )
918918 /* USART3_4_IRQn */
919919 if (uart_handlers [UART4_INDEX ] != NULL ) {
920920 HAL_UART_IRQHandler (uart_handlers [UART4_INDEX ]);
@@ -927,7 +927,12 @@ void USART3_IRQHandler(void)
927927 HAL_UART_IRQHandler (uart_handlers [UART6_INDEX ]);
928928 }
929929#endif /* STM32F030xC */
930- #endif /* STM32F0xx */
930+ #if defined(STM32G0xx ) && defined(LPUART1_BASE )
931+ if (uart_handlers [LPUART1_INDEX ] != NULL ) {
932+ HAL_UART_IRQHandler (uart_handlers [LPUART1_INDEX ]);
933+ }
934+ #endif /* STM32G0xx && LPUART1_BASE */
935+ #endif /* STM32F0xx || STM32G0xx */
931936#endif /* STM32F091xC || STM32F098xx */
932937}
933938#endif
You can’t perform that action at this time.
0 commit comments