Skip to main content
nicolas
Senior II
May 8, 2026
Question

typo in IRQHandler for CMake of STM32U0

  • May 8, 2026
  • 2 replies
  • 349 views

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.

2 replies

mƎALLEm
Technical Moderator
May 8, 2026

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?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
May 8, 2026

Is the startup file actually generated, or is it just copied from the Firmware Pack ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
May 8, 2026

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.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
mƎALLEm
Technical Moderator
May 8, 2026

As stated previously start from CubeMx and generate a CMake project. Do you face the same issue?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
nicolas
nicolasAuthor
Senior II
May 8, 2026

As stated previously, startup file is correct in CubeMX but not in CubeIDE.