2026-03-03 12:44 AM - last edited on 2026-03-03 1:37 AM by Andrew Neil
I have created a project for the STM32WL33 several weeks ago, using the DEEPSTOP mode with context restoration provided by ST. Even if there are some pitfalls with this the project worked mostly fine. But after the update to STM32CubeIDE 2.1.0 I get a compilation error:
./System/Startup/cpu_context_switch.o(CPUcontextRestore): Unknown destination type (ARM/Thumb) in ./Core/Src/system_stm32wl3x.o
dangerous relocation: unsupported relocation
make: *** [makefile:89: Euris3-EHKV-WMBus.elf] Error 1
I've reverted the version to 2.0.0 and the error is gone.
Solved! Go to Solution.
2026-04-27 7:08 AM
@Andrew Neil wrote:@Ghofrane GSOURI @Mahmoud Ben Romdhane
Another example of the same issue has just appeared - this time with H7 & X-CUBE-AUDIO-KIT:
And another here: Unknown destination type (ARM/Thumb) linking error in cube ide