2023-03-10 02:43 AM
VSCode for STM32 extension 1.0.0 is available now
STM32 VS Code Extension
STM32 embedded development support added to Visual Studio Code.
A new STM32 VS Code Extension view container is added to the activity bar which contains lists of functionality that can be activated through a click.
Prerequisites
STM32CubeCLT is a toolset for third-party integrated development environment (IDE) providers, allowing the use of STMicroelectronics proprietary tools within their own IDE frameworks.
It is required for basic build and debug functionality.
For full functionality, three programs need to be installed on your computer:
Features
Create VS Code compatible projects from STM32Cube projects
This feature makes use of the extension "Embedded Tools" by Microsoft to create a VS Code compatible project from an STM32Cube project.
When clicked, a file selection window is opened up where a cproject file can be selected to import the project.
Shortcut to create new application projects in STM32CubeMX
Opens STM32CubeMX if it is installed on your computer.
When opened up a new application project can be created.
Cloning of STM32Cube firmware from GitHub
Allows selecting firmware for an STM32 device to be downloaded and used in the project or used for source code referencing.
STM32 MCU Developer Zone
A web page dedicated to STM32 developers describing all key ecosystem elements of STM32 and STM32Cube.
STM32 firmware on GitHub
This is where STM32 firmware can be browsed for download or source code referencing.
STMCUFinder
Opens STMCUFinder if it is installed on your computer.
This allows you to browse through the available ST MCUs to find the ones suitable for your projects.
ST Community forum
A place where you can get support from other developers and ST employees, as well as contribute your own knowledge to help others.
Give feedback
This is where you can provide your feedback about this extension that you want us to hear.
Where to get get it
available on the VS Code Extension Marketplace
https://marketplace.visualstudio.com/items?itemName=stmicroelectronics.stm32-vscode-extension
2023-03-16 08:46 PM
Thank you. That was it - my system explorer shows hidden files but that window did not. I thought the importer was looking for a different type of file.
Unfortunately after importing the project it still does not work.
2023-03-17 01:32 PM
Me too...but slightly different and I'm running on Ubuntu 20.04
Downloading vcpkg-artifacts bundle 2023-03-14...
error: Failed to provision vcpkg-artifacts.
> Failed with exit code "1".
> Failed to activate environment at ...
2023-03-23 12:07 AM
Thank you.
2023-03-25 09:04 PM
It seem that a limitation of the import tool is that it does not import configurations from the .cproject file such as excluded files and linked resources (at least in my experience). Is it possible to add a list of supported cross functionality so users with existing CubeIDE code bases can understand what functionality is not fully supported via the import tool?
2023-03-26 04:49 AM
Looking into this further, it looks like the import tool does not recognize workspace includes as shown,
I changed the include path to a relative path and resolved this problem,
However, I still require manual removal of excluded target sources. It looks like the importer is including all source files in the workspace recursively instead of using the files specified in the paths and symbols options. In this case, the target_sources is including my testing and mocking files that are intentionally excluded from the source paths. Note: I was incorrect in my initial comment that files excluded from build were showing up, it was these files that the imported added that were causing issues.
2023-04-17 03:42 AM
I had the same problem and I tried to install Cortex-M Debug Extension, but it didn't work
2023-04-17 04:01 AM
I already asked this a month ago, but is this coming to https://open-vsx.org/ ?
Also this can't be installed on 1.72.2 VSCode, because it is not compatible. There doesn't seem to be any mention which versions are compatible.
2023-04-21 10:19 PM
Hi,
I installed the new extension and could compile code from vscode but I had a problem. When I see any file with #include vscode shows me with red underlines and I can't navigate through my project files. Output send this message:
Unable to resolve configuration with compilerPath: "/opt/st/stm32cubeclt/gnu-tools-for-stm32/bin/arm-none-eabi-gcc". Using "/usr/bin/clang" instead.
Any have the same issue?
2023-05-01 05:16 PM
Hi,
When I select it on a build error, it tries to read a file with a strange path. As a result, vscode says it's a non-existent file.
2023-05-05 04:17 AM
Hi,
I face the problem gdb cannot run on MacOS Ventura 13.3.1 (a) on M1.
I got this error message at stating gdb.
It seems that gdb is not signed.
I confirmed that it is not signed.
However, I can run it on terminal as;
How to solve my issue?
Please give me your idea. Thanks.