2018-06-19 04:56 AM
Information on Wrong Code Creation with STM32CubeMX Version 4.26.0.
STM32CubeMX creates wrong call for USART6 Interrupt Handlings for SMT32H743 processor:
It generates a call to HAL_UART_IRQHandler instead of HAL_USART_IRQHandler. The S is missing and produces an error when translating.
Created code in stm32h7xx_it.c looks like this:
void USART6_IRQHandler(void)
{ /* USER CODE BEGIN USART6_IRQn 0 *//* USER CODE END USART6_IRQn 0 */
HAL_UART_IRQHandler(&husart6); /* USER CODE BEGIN USART6_IRQn 1 *//* USER CODE END USART6_IRQn 1 */
}(Just for your information.)
#stm32cubemx.2018-06-19 06:20 AM
I'll observe that ST uses the UART/USART code somewhat interchangeably, as most people aren't using the Synchronous modes. It does however require consistent application.