raspberrypi / pico-project-generator

Tool to automatically generate a Pico C SDK Project
BSD 3-Clause "New" or "Revised" License
289 stars 74 forks source link

[windows] invalid compilerPath in c_cpp_properties.json #99

Closed ychsiao168 closed 10 months ago

ychsiao168 commented 10 months ago

platform: win11

command: python pico_project.py --gui and "Create VSCode project" is checked.

line 10 in c_cpp_properties.json:

"compilerPath": "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.EXE",

currently I just modify '\' to '\\' and everything is ok

image
lurch commented 10 months ago

Duplicate of #67 ? ping also @ndabas as it looks like you're using the Windows Pico Setup program.

ychsiao168 commented 10 months ago

Duplicate of #67 ? ping also @ndabas as it looks like you're using the Windows Pico Setup program.

yes same as #67 and I'm using Windows Pico Setup program.

if I use 'update_vscode_json_to_sdk1_5' branch, compilerPath is ok.