Skip to content

Commit 369ff35

Browse files
committed
Merge pull request #1643 from pguyot/w18/force-pico-sdk-git-fetch
Force git clone of Pico-SDK These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 5eb7cf8 + 02493a9 commit 369ff35

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/platforms/rp2040/pico_sdk_import.cmake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
# This can be dropped into an external project to help locate this SDK
2828
# It should be include()ed prior to project()
2929

30-
if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
31-
set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
32-
message("Using PICO_SDK_PATH from environment ('${PICO_SDK_PATH}')")
33-
endif ()
30+
# Commented to ensure fork is picked up as we need some changes that are not available upstream yet
31+
# if (DEFINED ENV{PICO_SDK_PATH} AND (NOT PICO_SDK_PATH))
32+
# set(PICO_SDK_PATH $ENV{PICO_SDK_PATH})
33+
# message("Using PICO_SDK_PATH from environment ('${PICO_SDK_PATH}')")
34+
# endif ()
3435

3536
if (DEFINED ENV{PICO_SDK_FETCH_FROM_GIT} AND (NOT PICO_SDK_FETCH_FROM_GIT))
3637
set(PICO_SDK_FETCH_FROM_GIT $ENV{PICO_SDK_FETCH_FROM_GIT})

0 commit comments

Comments
 (0)