STM32 extension for vscode is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-17 4:13 AM
Greetings, I'm trying to set up Visual Studio Code to work with STM32 microcontrollers. I've installed the STM32 VS Code Extension, as well as CubeCLT, CubeMX, and FINDER as requested, all with the correct versions to ensure functionality. I've also defined the correct paths. However, the issue I'm facing is that it doesn't detect the workspace libraries like those in CubeCLT, nor does it seem to find the compilation path. I'm encountering many errors. I've tried including absolute paths in c_cpp_properties.json, and some of the issues seem to be resolved, but I've tried a bunch of addresses and not all of them are fixed. It doesn't recognize uint36_t or GPIO defines. Does anyone know what might be happening?
Solved! Go to Solution.
- Labels:
-
VSCode for STM32
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 3:39 AM
Hello Nawres,
Yes, I've reconfigured the CLT path and now it's working. However, it only worked after compiling in Debug mode. Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 1:53 AM
Hi @luxae
could you please open VSCode settings type CLT and check if the correct path is set here ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-18 3:39 AM
Hello Nawres,
Yes, I've reconfigured the CLT path and now it's working. However, it only worked after compiling in Debug mode. Thanks for your help.
