2025-05-22 10:09 PM
I installed the STM32Cube for Visual Studio Code extension, after which I downloaded STM32CubeMX, STMCUFinder and STM32CubeCLT_1.18.0 and linked them to the extension as seen below:
I then opened STM32CubeMX, opened a project using the board NUCLEO-F746ZG, generated the code. The path of the project is: C:\Users\Public\VSCode_Projects\STM32\STM32_Testing
Here are the files in the folder:
In VS code, I click on "Import CMake Project" and I click on Import project option in the screenshot below
However, after that, the project does not open, and in the bottom bar VS code says "Importing project". The bar has been displaying that message for 2 hours now, yet a project hasn't opened.
May I know what I could be doing wrong? Thanks!
Solved! Go to Solution.
2025-05-22 10:53 PM
https://www.youtube.com/watch?v=aWMni01XGeI sounds helpful too
2025-05-22 10:30 PM
Have you got a chance to try brand new released solution (pre-released takes care you have to push right button to install it) ?
No more "Import" to be done ... just add STM32CubeMX generated projet to your VSCode workspace and at a time just answer "yes" to this notification kind which is happening following Cmake project discovery by CMake tools extension
Sounds @AlanCui4080 has got some good first experience with see https://community.st.com/t5/stm32cube-for-visual-studio-code/why-this-extension-do-not-use-environment-variables/td-p/800975
Same here @3subzero3 https://community.st.com/t5/stm32cube-for-visual-studio-code/stm32-vs-code-extension-no-compiler-found-in-cache-file/td-p/584026/page/3
2025-05-22 10:53 PM
https://www.youtube.com/watch?v=aWMni01XGeI sounds helpful too
2025-05-22 11:16 PM
Thanks for the help! The video was super helpful