2024-04-17 04: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.
2024-04-18 03: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.
2024-04-18 01:53 AM
Hi @luxae
could you please open VSCode settings type CLT and check if the correct path is set here ?
2024-04-18 03: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.