Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3843

General • Re: Pi Pico VScode extension: Failed to setup example

$
0
0
Posting here on behalf of the following thread that I started. Not meaning to cross-post, but the topics are similar and I found this post after I'd started the following topic in the SDK forum.

Latest VS Code extension: error with example project

One issue that I found initially was that the examples folder was missing from the SDK install. The developer logs indicated an error with the 'git clone' command with the --sparse option. Turns out that my git version *was* 2.24, which doesn't support --sparse for git clone.

I deleted pi pico extension from VSC, but had to do it manually. Pressing the 'Uninstall' button did nothing. Next, I upgraded git to the latest, 2.42, then installed the pi pico extension. IIRC, no tools were installed until I tried to create a project, then they were installed. The examples folder was created this time - no git clone errors.

I thought I was over the hump, but as detailed in the linked forum topic above, for some reason project creation bombs at the very end.

I noticed there are several environment variables that are set for this extension. Is there a cmd line environment I can invoke to check the value of the these variables in the hopes it might give me a clue.

Mods - feel free to move or merge this topic as needed.

Statistics: Posted by urbite — Thu Aug 22, 2024 12:34 am



Viewing all articles
Browse latest Browse all 3843

Trending Articles