platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.18k stars 188 forks source link

Unable to resolve configuration with compilerPath #4048

Closed classicrocker883 closed 1 month ago

classicrocker883 commented 1 month ago

Upon starting VSCode with PlatformIO, I get this message from OUTPUT under "C/C++ Configuration Warnings":

[5/10/2024, 12:50:02 AM] Unable to resolve configuration with compilerPath "C:/Users/<User>/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc.exe".  Using "cl.exe" instead.
[5/10/2024, 12:50:02 AM] Unable to resolve configuration with compilerPath "C:/Users/<User>/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc.exe".  Using "cl.exe" instead.

I also keep getting a dropdown for >CMake: Select a Kit asking me to select a compiler. I've already done this! It seems to reset after restarting VSCode.

I have uninstalled, and reinstalled these extensions: C/C++, CMake, PlatformIO. The issue only happens with PlatformIO.

classicrocker883 commented 1 month ago

I started a new folder in the workspace and that seemed to solve the issue