Skip to content

Conversation

@will-v-pi
Copy link
Collaborator

Add locations.md file, which has instructions to manually download the required tools, in case the extension is failing to download something

```
git -c advice.detachedHead=false clone --branch <sdk_version> https://github.com/raspberrypi/pico-sdk.git "~/.pico-sdk/sdk/<sdk_version>"
cd "~/.pico-sdk/sdk/<sdk_version>"
git submodule update --init

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of a dedicated step here, perhaps add --recursive to the clone command above?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That recursively clones all the submodules of the submodules, which aren’t actually needed - we only need the top-level of the submodules, hence the separate steps. I don’t think this is an issue anymore for the submodules in SDK 2.0.0, but in SDK 1.5.1 tinyusb has a bunch of submodules that we don’t want to clone

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you also add --depth 1 it reduces the overall clone size (top level and submodules).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants