Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch pimoroni-pico SDK from git repository #388

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

thinkofher
Copy link
Contributor

When $PIMORONI_PICO_FETCH_FROM_GIT environment variable is set
cmake script will fetch on the go git repository and use it to
build your project.

User can additionally use $PIMORONI_PICO_FETCH_FROM_GIT_PATH to
specify target directory for source code of fetched SDK.

This patch was inspired by external/pico_sdk_import.cmake from
official C/C++ pico-sdk repository.

When $PIMORONI_PICO_FETCH_FROM_GIT environment variable is set
cmake script will fetch on the go git repository and use it to
build your project.

User can additionally use $PIMORONI_PICO_FETCH_FROM_GIT_PATH to
specify target directory for source code of fetched SDK.

This patch was inspired by external/pico_sdk_import.cmake from
official C/C++ pico-sdk repository.
@Gadgetoid
Copy link
Member

Sorry for the lack of response here. This is awesome, thank you, I just need to stop fighting fires and get 'round to trying & merging it!

@Gadgetoid Gadgetoid merged commit 3891eef into pimoroni:main Dec 16, 2022
@Gadgetoid
Copy link
Member

Thank you- tried this against our boilerplate and it worked nicely!

@thinkofher
Copy link
Contributor Author

Great news! You’re welcome :)

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