After cobbling together some out of date instructions, the following seems to work:
Download the zip from Git and unpack in a folder (or use the git command)
Edit settings.json in the project folder (this should have been created automatically with the project).
Under the appropriate OS section ("terminal.integrated.env.<OS>":) add the path under the PICO_SDK_PATH, e.g.
Be aware that the environment variable for Windows is ${env:USERPROFILE} and not ${env:HOME}
No other files need to be edited.
Download the zip from Git and unpack in a folder (or use the git command)
Edit settings.json in the project folder (this should have been created automatically with the project).
Under the appropriate OS section ("terminal.integrated.env.<OS>":) add the path under the PICO_SDK_PATH, e.g.
Code:
"terminal.integrated.env.osx": { "PICO_SDK_PATH": "${env:HOME}/.pico-sdk/sdk/2.1.0", "PICO_EXTRAS_PATH": "${env:HOME}/Git/pico-extras", <<=== Add this line with the location of the unzipped Git folder (Remove Master from the folder name) "PICO_TOOLCHAIN_PATH": "${env:HOME}/.pico-sdk/toolchain/13_3_Rel1", "PATH": "${env:HOME}/.pico-sdk/toolchain/13_3_Rel1/bin:${env:HOME}/.pico-sdk/picotool/2.1.0/picotool:${env:HOME}/.pico-sdk/cmake/v3.29.9/bin:${env:HOME}/.pico-sdk/ninja/v1.12.1:${env:PATH}"
No other files need to be edited.
Statistics: Posted by StarryPied — Wed Dec 04, 2024 4:35 pm