Missing calls in stm32h7xx_it.c when generating code with latest release Version 6.6.1
- July 14, 2022
- 1 reply
- 1011 views
Hello software team of STM32CubeMX,
I have a huge project on an STM32H7 which uses DMA on 2 USART ports and SPI, has USB interrupt activated and a Timer. The project also uses TouchGFX with FreeRTOS. When generating code of the unchanged - but migrated - .ioc file, the HAL calls for some interrupts are missing when generated with the latest version 6.6.1.
As I always compare previous version and newly generated versions in order to see the difference and maybe to include some changes which I have to include manually, I discovered the missing calls. Interrupts are activated in the Cube correctly, but the needed calls for handlers are not included (e.g. HAL_DMA_IRQHandler(&hdma_usart3_rx);)
Please see attached the .ioc. I also added the stm32h7xx_it.c module, where I have put the missing calls in the "User code" sections, so they will not be missing next time I generate code.
BR GS.