cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to import project on visual studio code

is45
Associate III

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:

is45_0-1747976636332.png

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:

is45_1-1747976743021.png

In VS code, I click on "Import CMake Project" and I click on Import project option in the screenshot below

is45_2-1747976830827.png

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. 

is45_3-1747976914787.png

May I know what I could be doing wrong? Thanks!

 

16 REPLIES 16

Any special character within your user name ? just in case ... mine has nothing "exotic" so ... who knows ... quite common pitfall for softwares

Hello @CSand 

Does your D: drive be a network drive?

Hi Julien, 
Drive D is not network drive.
Below the path to a project on D drive:
D:\APPWorkspace\VSCode\MonHub\

CSand_0-1748872602893.png

 

Ok, likely something else then.

Could you restart VS Code and check if there is relevant output/error in the STM32Cube core output channel ?

Additionally you can run the [Developer: Show Running Extensions] command and ensure that all STM32Cube extensions are activated.

Hi Julien,
All STM32Cube extensions are activated - they are 13 stm32cube extensions + CMake Tools and "Web   and Desktop Serial Monitor.

Please see attached picture - should one interfere and may need uninstall ?

I spent some time trying different things but, still nothing changed ...

 

 

 

 

 

 

Hi @CSand,

I confirm that there are troubles with additional drives usage, especially when vscode is installed from the zip archive, installers work usually better.

Issue is under analysis, we will keep you informed here.

Hi Julien, I'll wait for a solution.
Thanks for your help.