legacy interrupt handlers in cubemx 6.6.0
I'm trying to get into UART interrupt. It used to be copying the 'weak' function declaration and declare our own in main such as:
main()
{
....
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
// usr code here
}
....
}
However, this apparently became legacy. Now I get the following:
"stm32h7xx_it.c"
"stm32h7xx_it.c"
**
* @brief This function handles USART3 global interrupt.
*/
void USART3_IRQHandler(void)
{
/* USER CODE BEGIN USART3_IRQn 0 */
/* USER CODE END USART3_IRQn 0 */
HAL_UART_IRQHandler(&huart3);
/* USER CODE BEGIN USART3_IRQn 1 */
/* USER CODE END USART3_IRQn 1 */
}
Please advise an App Note describing how we handle the interrupt the same way we used to do.