I have followed numerous tutorials to set up the SDK and keep getting the following error from Vcode:
"SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
I have done BOTH of these things:
1) Add "export PICO_SDK_PATH="$HOME/git/pico-sdk" to my .bash_profile file
2) Go to Cmake Tools configuration and add PICO_SDK_PATH Environment Variable under "Build ENvironment" in Vcode
And still get this error.
What am I doing wrong here? SDK is definitely present in the folder above (HOME/git/pico-sdk")
Re: SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
Hi! Same problem here, did you find a solution?
Re: SDK location was not specified. Please set PICO_SDK_PATH or set PICO_SDK_FETCH_FROM_GIT to on to fetch from git."
I managed to overcome this problem by setting an environment variable through cmake tools in vscode:
Inspired by this video using cLion: https://www.youtube.com/watch?v=zFh892X4aa4
Inspired by this video using cLion: https://www.youtube.com/watch?v=zFh892X4aa4
Last edited by ArjunaDev on Wed Apr 20, 2022 3:50 pm, edited 1 time in total.