You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compilerPath populated in c_cpp_properties.json can cause a parsing error to be thrown in VSCode due to unescaped backslashes.
eg.,
"compilerPath": "C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\12.2 rel1\bin\arm-none-eabi-gcc.EXE",
will fail, but
"compilerPath": "C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\12.2 rel1\\bin\\arm-none-eabi-gcc.EXE",
Is fine. Also, converting to forward slashes in the path works.
Might be particular to how certain system configs get the toolchain added to the system environment variables / PATH? Not sure, I'm a bit new to this toolchain.
Current workaround is to manually edit the JSON and then use CMake: Delete Cache and Reconfigure.
The text was updated successfully, but these errors were encountered:
I would use the PICO_INSTALL_PATH environment variable instead of hard-coding the path to the C/C++ compiler, so that any future updates to the installed SDK are automatically picked up and do not require a manual fix-up.
The compilerPath populated in c_cpp_properties.json can cause a parsing error to be thrown in VSCode due to unescaped backslashes.
eg.,
"compilerPath": "C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\12.2 rel1\bin\arm-none-eabi-gcc.EXE",
will fail, but
"compilerPath": "C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\12.2 rel1\\bin\\arm-none-eabi-gcc.EXE",
Is fine. Also, converting to forward slashes in the path works.
Might be particular to how certain system configs get the toolchain added to the system environment variables / PATH? Not sure, I'm a bit new to this toolchain.
Current workaround is to manually edit the JSON and then use CMake: Delete Cache and Reconfigure.
The text was updated successfully, but these errors were encountered: