2025-07-03 8:45 AM
Similar problem to the U5 one reported here STM32CubeMX v6.13.0 generates broken CMake project... - STMicroelectronics Community
STM32CubeMX creates broken cmake files for the above Nucleo board. The template doesn't expand properly and the files are littered with {{sr:blah blah}} references.
2025-07-04 3:34 AM
Hello @Peter Allnutt
Could you please give more details about that (what is it, how to reproduce it and if possible, to attach a .ioc file that does reproduce this).
Best Regards.
STTwo-32
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.
2025-07-07 1:01 AM
Sadly not as this morning I cannot re-create this error. Instead I get stuck at the project setup phase
What I'm doing is opening CubeMX, creating a new project based on the NUCLEO-WL55JC1 board. I select Single Core, all BSP hardware and generate demonstration code. Then within the Project Manager tab I select Cmake and give the project a name. Generate the code and then open the folder from a PowerShell window using 'code .'
Now the error above appears if I select yes to the auto prompt on opening the project as an STM32 one or if I use the "Setup STM32CubeProjects" via the Command Palette.
Attached is the .ioc file that was generated.
I've tried the above using both the release STM32 Extension and the preview version 3.5.1
Sadly I don't have the project from before.