2026-05-08 3:37 AM
With STM32CubeIDE 1.19.0, i generate a CMake project for STM32U073CCT6. The generated startup file has a DMA1_CHannel1_IRQHandler instead of DMA1_Channel1_IRQHandler.
2026-05-08 3:42 AM
Hello,
@nicolas wrote:
With STM32CubeIDE 1.19.0
That was with 1.19.0 of CubeIDE which doesn't support anymore Code generation and this function was deprecated in the newer tools versions. What about generating the code with the latest STM32CubeMx tool?
2026-05-08 3:44 AM
Is the startup file actually generated, or is it just copied from the Firmware Pack ?
2026-05-08 3:50 AM - edited 2026-05-08 4:22 AM
Indeed..
Same thing as this one: STM32C092GCU6: FDCAN interrupt handler name mismatch
CubeMx doesn't generate code for .s it just copies it from the HAL repository.
So the recommendation here is to use the latest version of the tool. In his case he needs to use CubeMx (which points to the latest version of the CubeHAL, supposedly fixing some issues) instead of CubeIDE as "starting a project for STM32" is no more supported.
STM32CubeIDE 2.0.0 workflow tutorial
Now after checking by generating a code with CubeMx 6.17.0 which by default points to STM32Cube FW_U0 V1.3.0, the copied .s file gives the following:
.weak DMA1_Channel1_IRQHandler
.thumb_set DMA1_Channel1_IRQHandler,Default_Handler
So I suppose the issue was fixed.
2026-05-08 4:25 AM
Using STM32CubeIDE 2.1.1 and creating a CMake project, i still get the wrong IRQHandler name.
2026-05-08 4:29 AM - edited 2026-05-08 4:29 AM
@nicolas wrote:
Using STM32CubeIDE 2.1.1 and creating a CMake project, i still get the wrong IRQHandler name.
How did you generate the code with STM32CubeIDE 2.1.1? that's not possible!
STM32CubeIDE 2.0.0 workflow tutorial
2026-05-08 4:35 AM
@nicolas wrote:Using STM32CubeIDE 2.1.1 and creating a CMake project
As noted by @mƎALLEm, you need to use CubeMX to create a project - not CubeIDE from v2.0.0.
@nicolas - So what version of CubeMX did you use?
2026-05-08 5:03 AM
File -> STM32 Project Create/Import -> STM32 CMake Project