Skip to main content
Associate
May 5, 2026
Solved

Incorrect Symbol Names for STMCubeMX Generated Project IRQ Handlers

  • May 5, 2026
  • 1 reply
  • 131 views

STM32CubeMX Version: 6.13.0

Chip: STM32WL33CCVx

Toolchain: Makefile

Snippet from startup file startup_stm32wl33ccvx.s:

 .word MRSUBG_BUSY_IRQHandler /* IRQ20: MR SUBG BUSY interrupt */
 .word MRSUBG_IRQHandler /* IRQ21: MR SUBG interrupt */
 .word TX_RX_SEQUENCE_IRQHandler /* IRQ22: TX RX SEQUENCE interrupt */
 .word CPU_WKUP_IRQHandler /* IRQ23: CPU Wakeup interrupt */
 .word SUBG_WKUP_IRQHandler /* IRQ24: SUBG Wakeup interrupt */

 Snippet from IT header file stm32wl3x_it.h:

void MRSUBG_BUSY_IRQHandler(void);
void MRSUBG_IRQHandler(void);
void MRSUBGTX_RX_SEQUENCE_IRQHandler(void);
void MRSUBG_CPU_WKUP_IRQHandler(void);
void MRSUBG_WKUP_IRQHandler(void);

 Perhaps I'm missing something, but I would assume the function names in the header file need to match the names used for the weak definitions in the assembly file.

Best answer by Ghofrane GSOURI

Hello @ncdanie 

Using the latest version of STM32CubeMX6.17.0 

 .word MRSUBG_BUSY_IRQHandler /* IRQ20: MR SUBG BUSY interrupt */
 .word MRSUBG_IRQHandler /* IRQ21: MR SUBG interrupt */
 .word MRSUBG_TX_RX_SEQUENCE_IRQHandler /* IRQ22: MR SUBG TX RX Sequence interrupt */
 .word MRSUBG_TIMER_CPU_WKUP_IRQHandler /* IRQ23: MR SUBG TIMER CPU Wakeup interrupt */
 .word MRSUBG_WKUP_IRQHandler /* IRQ24: MR SUBG Wakeup interrupt */

GhofraneGSOURI_0-1778057683519.png

 

THX

Ghofrane

1 reply

Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
May 6, 2026

Hello @ncdanie 

Using the latest version of STM32CubeMX6.17.0 

 .word MRSUBG_BUSY_IRQHandler /* IRQ20: MR SUBG BUSY interrupt */
 .word MRSUBG_IRQHandler /* IRQ21: MR SUBG interrupt */
 .word MRSUBG_TX_RX_SEQUENCE_IRQHandler /* IRQ22: MR SUBG TX RX Sequence interrupt */
 .word MRSUBG_TIMER_CPU_WKUP_IRQHandler /* IRQ23: MR SUBG TIMER CPU Wakeup interrupt */
 .word MRSUBG_WKUP_IRQHandler /* IRQ24: MR SUBG Wakeup interrupt */

GhofraneGSOURI_0-1778057683519.png

 

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.