Question
STM32CubeMX 6.17. 0 not generating correct cmake file for STM32WL33
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
SystemInit() in system_stm32wl3x.c.
The problems is that the wrong is -mcpu is generated.
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
