raspberrypi / pico-sdk

BSD 3-Clause "New" or "Revised" License
3.26k stars 838 forks source link

set git tag for the SDK #1630

Closed ahmetkizilay closed 1 month ago

ahmetkizilay commented 5 months ago

with this change we can use PICO_SDK_FETCH_GIT_TAG to specify a release tag for the Pico SDK to download.

example usage:

set(PICO_SDK_FETCH_FROM_GIT true)
set(PICO_SDK_FETCH_FROM_GIT_TAG "1.5.1")
include(pico_sdk_import.cmake)

Fixes #1631

peterharperuk commented 5 months ago

Looks reasonable I guess. Any objection @kilograham ?