I just mean when in Windows when you went to Advanced System Settings > System Properties > Environmental variables > System variables > newI'm not sure I understand your question. Yes, there are spaces in the path. What I posted is a copy and paste from the Windows command prompt.
That you put your path in double quotes. It will be necessary when using a path with spaces else cmake can't parse it correctly.
It should be exactly
Code:
set PICO_SDK_PATH="C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\pico-sdk"
To clarify, it needs to be set through the GUI, not command line, and of course you are adding a new variable, not modifying PATH, but anyway, in the area of Windows shown here: https://www.computerhope.com/issues/ch000549.htm
Then a reboot is required.
Sorry if you know this and did it this way already, and used double quotes around the variable value already (after the equals symbol) but just to clarify.
Statistics: Posted by breaker — Wed Mar 06, 2024 2:22 pm