This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
packages/pico-setup-windows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ $bitness = $config.bitness
3737$mingw_arch = $config.mingw_arch
3838$downloads = $config.downloads
3939
40- $product = " Raspberry Pi Pico SDK $version "
41-
4240mkdirp " build"
4341mkdirp " bin"
4442
@@ -85,6 +83,9 @@ mkdirp "bin"
8583 }
8684}
8785
86+ $sdkVersion = (.\build\cmake\bin\cmake.exe - P .\packages\pico- setup- windows\pico- sdk- version.cmake - N | Select-String - Pattern ' ([0-9]+\.)+[0-9]+' ).Matches.Value
87+ $product = " Raspberry Pi Pico SDK $sdkVersion "
88+
8889$repositories | ForEach-Object {
8990 $repodir = Join-Path ' build' ([IO.Path ]::GetFileNameWithoutExtension($_.href ))
9091
@@ -328,6 +329,7 @@ Section "Pico environment" SecPico
328329 File /r "build\pico-examples\*.*"
329330 SetOutPath "`$ {PICO_REPOS_DIR}\pico-examples\.vscode"
330331 File /oname=launch.json "packages\pico-examples\vscode-launch.json"
332+ File "build\pico-examples\ide\vscode\settings.json"
331333
332334 SetOutPath "`$ INSTDIR\pico-sdk-tools"
333335 File "build\pico-sdk-tools\mingw$bitness \*.*"
Original file line number Diff line number Diff line change 1+ include (build /pico-sdk/pico_sdk_version.cmake )
2+
3+ message (STATUS "PICO_SDK_VERSION_STRING=${PICO_SDK_VERSION_STRING} " )
Original file line number Diff line number Diff line change 1- 1.4.0
1+ 0.3.6
You can’t perform that action at this time.
0 commit comments