2026-04-20 1:32 PM - last edited on 2026-04-22 5:30 AM by Imen.D
Hi ST,
This is just to let you know that STM32CubeMX version 6.17.0 does not generate correct cmake file for the STM32WL33 and this error results in the microntroller not starting up correctly but hangs in function
The problem can be found in the file -> path/to/dir/cmake/gcc-arm-none-eabi.cmake
# MCU specific flags
set(TARGET_FLAGS "-mcpu=cortex-m4 ") // wrong for the WL33
# MCU specific flags
set(TARGET_FLAGS "-mcpu=cortex-m0plus ") // correct for the WL33
Ola
2026-04-24 2:42 AM
Hello @@ola
Let me thank you for posting.
For more investigation, could you provide please your Ioc.File.
Thanks.
Mahmoud
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.
2026-04-25 12:31 AM
2026-04-29 8:33 AM
Hello @ola
Let me thank you for bringing this issue to our attention.
The issue has been escalated to dev team under internal ticket: CDM0062228
Thanks.
Mahmoud
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.