2025-12-29 5:06 AM
Hello,
I'm trying to start using STM32CubeIDE for VS Code 3.7.0
I have tried to follow the instructions to set up an example project via STM32CubeMX and those to setup an empty project.
In both cases I end up with an apparently unconfigurable project, seeing just this:
Clicking on "Configure" does not result in a change.
Just trying to build the project anyway results in CMake telling me that it cannot find the C Compiler.
Any hint welcome.
Many thanks,
Titus
2025-12-29 2:46 PM
The above window won't go away after configuration. That seems to be expected (but maybe unintuitive) behaviour.
But, if CMake cannot find the compiler sounds like another, unrelated issue. You may open the command palette (
Ctrl+Shift+P) and enter 'bundle'. Various commands dealing with bundles will appear. The compilers are part of gnu-tools-for-stm32 and should be installed.
hth
KnarfB
2025-12-31 12:45 AM
hi @elbe_25 could you share the log after clicking the configure button please
2026-01-01 3:35 AM
Thx for the replies.
I already attached the log file from AppData\Roaming\stm32cube\logs\vsx to the OP. Otherwise please tell which log.
Maybe that gives an additional hint:
Sometimes when opening the project configuration page, I see an additional dialog item shortly flashing on the screen. but it's too short to recognize what might be there.
All other screen shots of the project config page that I came across during my search include more than just the dialog items in my above screen shot.
@KnarfB Quite a few bundles are installed.
I can also manually execute the compiler inside of the bundles directory from a shell. Since this directory is not in the PATH, I have to prepend its installation directory.
It's obvious that the generated CMake Toolchain file does not specifiy the full path to the compiler.
Question is: How is this is supposed to work with the STM32Cube IDE for VSX:
Is the cube-cmake aware of the path to the toolchain? Would the path go into another config file? Am I supposed to fiddle around with the paths manually in the toolchain file?
2026-01-01 4:12 PM
You were misled by ST's early documentation. With the toolchain and development method you described, the correct approach is: 1. Use STM32CubeMX to generate your project framework, preferably selecting CMake + ST ARM Clang as the output toolchain; 2. Open and compile the generated project with VSCode.
The entire process does not require the step you mentioned. Also, probably few people still use the method you described for working with ST microcontrollers. When STM32CubeMX generates the framework, it has already configured most of the toolchain.
2026-01-01 10:35 PM
Hello ,
Suggest Beginner Guide documentation stm32cube ide with vs code how to setup and create project.
Regards
GS
2026-01-02 1:00 AM
I'm following the "User guide":
Both creating an example project with STM32CubeMX and creating an empty project give the results described above.
If there is another documentation *applicable for version 3.7.0* to read, please post a link.
Thx
2026-01-05 11:48 PM
Seems it is trying to download the 1.1.1 dfp pack version but something is going wrong, could you please check which pack version is installed and try to manually update it
2026-01-08 11:34 PM
2026-01-09 8:27 AM