cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE for Visual Studio - Offline Mode

HaritonUlianaYakov
Associate II

As I understand it, this extension only works online? If there’s no internet, the extension stops working. Is there a solution for this or…

6 REPLIES 6
KnarfB
Super User

No. Why do you think so?

Once the installation is completed and all relevant software bundles are downloaded, you may get a decent warning that you are working offline, but you can continue.

hth

KnarfB

I will try to describe the problem.

Everything is installed: compilers, debuggers. But as soon as you turn off the Internet, create a CMake project in CubeMX, and then open it in VS Code, everything breaks and dies; the CMake manager can't load the project. So it turns out that STM CubeIDE for VS Code is useless without the Internet.

Again: no. Works on my system. You may see some messages/warnings in the beginning, but eventually I can create a new CubeMX CMake project, build it in VCS and even debug it on my board. 

 

Dear, what are you trying to prove to me? Something that doesn't exist. Here are the screenshots.1.png2.png

Tomorrow I'll try to do the same on Debian 12. Something tells me that everything will work there. It doesn't work on Windows 11.

If I understood the logic of the extension correctly, it simply can't find the local repository.

Cartu38 OpenDev
Lead III

@HaritonUlianaYakov 
See https://community.st.com/t5/stm32cubeide-for-visual-studio/connectivity-issues-of-stm32cubeide-for-vscode/td-p/861871
"For now, please consider that this solution requires an active internet connection."

HaritonUlianaYakov
Associate II

Launched in full offline mode. For this, you need to manually specify bundles.store. For debugging, the svd, dfp packs cmsis files must be downloaded. To run debugging offline, you need to manually specify the path to the SVD files, as well as to CubeProgrammer and the Stlink GDB server.