Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 67be7a8

Browse files
committed
Pre-populate Pico-specific submodules in TinyUSB
1 parent 68e3450 commit 67be7a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ $repositories | ForEach-Object {
128128
}
129129
}
130130

131+
# Clone additional Pico-specific submodules in TinyUSB
132+
exec { git -C .\build\pico-sdk\lib\tinyusb submodule update --init --depth=1 hw\mcu\raspberry_pi }
133+
131134
$sdkVersion = (cmake -P .\packages\pico-setup-windows\pico-sdk-version.cmake -N | Select-String -Pattern 'PICO_SDK_VERSION_STRING=(.*)$').Matches.Groups[1].Value
132135
if (-not ($sdkVersion -match $versionRegEx)) {
133136
Write-Error 'Could not determine Pico SDK version.'

0 commit comments

Comments
 (0)