Skip to main content
SidPrice
Associate III
January 16, 2024
Question

Issue with ST VSCode STM32 extension.

  • January 16, 2024
  • 3 replies
  • 2608 views

Hello, I have been using the VSCode STM32 extension on my project for some time and it has been working well. Today, I was doing some major refactoring of some of the code, and this required deleting one of the files no longer required. Unfortunately, the extension did not recognize the file had been deleted and the build failed when it could no longer find the file.

I fixed the issue by going back to STM32CubeIDE and refreshing the project. Then I returned to VSCode, opened my project and performed an "Import local project."

While this fixed my issue, it seems the extension should be able to cope with a file being deleted without having to return to STM32CubeIDE.

Did I miss some other option in the extension?

Sid

This topic has been closed for replies.

3 replies

TDK
January 16, 2024

The extension isn't made by ST. Perhaps report it on the project's page with enough information to replicate the issue.

https://github.com/bmd-studio/stm32-for-vscode

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
SidPrice
SidPriceAuthor
Associate III
January 17, 2024

@TDK The copyright shown by the extension is ST MicroElectronics, with a link to st.com!

Sid

TDK
January 17, 2024

Oh, looks like there is an official one now. There wasn't for a long time. Sorry for the noise.

https://community.st.com/t5/other-tools-mcus/vscode-for-stm32-extension-1-0-0-released/td-p/143795

 

"If you feel a post has answered your question, please click ""Accept as Solution""."