Mercurial > public > ostc4
diff Small_CPU/Src/stm32f4xx_it_v3.c @ 981:c6c781a2e85b default
Merge into default
| author | heinrichsweikamp |
|---|---|
| date | Tue, 11 Feb 2025 18:12:00 +0100 |
| parents | 6fc0e3d230e4 |
| children | d9290c76b840 |
line wrap: on
line diff
--- a/Small_CPU/Src/stm32f4xx_it_v3.c Tue Aug 13 13:24:54 2024 +0200 +++ b/Small_CPU/Src/stm32f4xx_it_v3.c Tue Feb 11 18:12:00 2025 +0100 @@ -60,7 +60,10 @@ extern UART_HandleTypeDef huart1; extern DMA_HandleTypeDef hdma_usart1_rx; - +extern DMA_HandleTypeDef hdma_usart1_tx; +extern UART_HandleTypeDef huart6; +extern DMA_HandleTypeDef hdma_usart6_rx; +extern DMA_HandleTypeDef hdma_usart6_tx; /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ @@ -241,7 +244,22 @@ HAL_DMA_IRQHandler(&hdma_usart1_rx); } +void DMA2_Stream7_IRQHandler(void) +{ + HAL_DMA_IRQHandler(&hdma_usart1_tx); +} +#ifdef ENABLE_GPIO_V2 +void DMA2_Stream2_IRQHandler(void) +{ + HAL_DMA_IRQHandler(&hdma_usart6_rx); +} + +void DMA2_Stream6_IRQHandler(void) +{ + HAL_DMA_IRQHandler(&hdma_usart6_tx); +} +#endif /******************************************************************************/ /* STM32F4xx Peripherals Interrupt Handlers */ /* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */ @@ -309,6 +327,13 @@ HAL_UART_IRQHandler(&huart1); } +#ifdef ENABLE_GPIO_V2 +void USART6_IRQHandler(void) +{ + HAL_UART_IRQHandler(&huart6); +} +#endif + /** * @brief This function handles PPP interrupt request. * @param None
