{"id":15172706,"url":"https://github.com/raspberrypi/pico-setup-windows","last_synced_at":"2025-10-01T09:30:36.050Z","repository":{"id":66720012,"uuid":"550748863","full_name":"raspberrypi/pico-setup-windows","owner":"raspberrypi","description":"Old Pico-Setup-Windows installer, this repository is no longer in use.","archived":true,"fork":false,"pushed_at":"2024-08-20T15:32:13.000Z","size":264,"stargazers_count":259,"open_issues_count":1,"forks_count":38,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-09-28T10:03:38.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raspberrypi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-13T09:07:09.000Z","updated_at":"2024-09-24T22:05:39.000Z","dependencies_parsed_at":"2024-09-23T02:40:35.182Z","dependency_job_id":null,"html_url":"https://github.com/raspberrypi/pico-setup-windows","commit_stats":{"total_commits":141,"total_committers":7,"mean_commits":"20.142857142857142","dds":"0.049645390070921946","last_synced_commit":"834403e83a9dca54df689389e558f3b7473483aa"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fpico-setup-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fpico-setup-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fpico-setup-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspberrypi%2Fpico-setup-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raspberrypi","download_url":"https://codeload.github.com/raspberrypi/pico-setup-windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234845349,"owners_count":18895742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-27T10:03:44.139Z","updated_at":"2025-10-01T09:30:30.712Z","avatar_url":"https://github.com/raspberrypi.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pico setup for Windows\r\n\r\n\u003e [!IMPORTANT]\r\n\u003e In the future, the pico-setup-windows installer will not be supported. Instead, use the official Visual Studio Code extension available at https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico. This extension handles setup on multiple platforms, including Linux, macOS, and Windows.\r\n\u003e\r\n\u003e To learn more, follow the [Getting Started with Raspberry Pi Pico-series](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) tutorial.\r\n\r\n\r\n# Previous Contents\r\n\r\n[Download the latest release](https://github.com/raspberrypi/pico-setup-windows/releases/latest/download/pico-setup-windows-x64-standalone.exe)\r\n\r\nThis project aims to create an easy-to-use installer to get started on Windows (using the C/C++ SDK) with [Raspberry Pi Pico](https://www.raspberrypi.com/products/raspberry-pi-pico/) and other RP2040-based boards. It is inspired by, and is roughly equivalent to, the [pico-setup](https://github.com/raspberrypi/pico-setup) project for Linux systems.\r\n\r\nThe installer automates the prerequisite installation on Windows, as explained in the official [Getting started with Raspberry Pi Pico](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf) guide.\r\n\r\nThe rest of this README document is about developing the installer itself. If you just want to install and use the compilers and toolchain, download the release linked to above. Further information for users is in the [tutorial](docs/tutorial.md).\r\n\r\n## Included software\r\n\r\n- [Arm GNU Toolchain](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads)\r\n- [CMake](https://cmake.org/download/)\r\n- [Ninja](https://github.com/ninja-build/ninja/releases)\r\n- [Python 3.9](https://www.python.org/downloads/windows/)\r\n- [Git for Windows](https://git-scm.com/download/win)\r\n- [Visual Studio Code](https://code.visualstudio.com/)\r\n- [OpenOCD](https://github.com/openocd-org/openocd/)\r\n\r\n# Building\r\n\r\nYou will need PowerShell 7.2 or newer in order to run the build script. See [Installing PowerShell on Windows](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows) for download links and instructions. Note that this is needed only for building the installer itself, and not for end-user machines where the installer will be run.\r\n\r\nThe installers are built with [NSIS 3](https://nsis.sourceforge.io/Download). The NSIS script is generated by [build.ps1](build.ps1) when provided with a JSON configuration file. The build script automatically downloads a local copy of NSIS to use for the build.\r\n\r\nOnly x86-64 builds are supported at this time.\r\n\r\nCompiling OpenOCD and other tools (picotool, pioasm, elf2uf2) requires an installation of [MSYS2](https://www.msys2.org/). The build script automatically downloads and installs a local copy of MSYS2. You can specify a path to an existing copy of MSYS2 using the `-MSYS2Path` option. The build script will install a copy of MSYS2 at this path if it doesn't find an existing copy.\r\n\r\nIt is highly recommended to use a dedicated copy of MSYS2 for this build.\r\n\r\nTo build:\r\n\r\n```powershell\r\n.\\build.ps1 .\\config\\x64-standalone.json -MSYS2Path ~\\Downloads\\msys64\r\n```\r\n\r\nThe built installers will be saved to the `bin` directory.\r\n\r\n# Tests\r\n\r\nThere are tests for some parts of the build scripts. You can run them like this:\r\n\r\n```powershell\r\nInstall-Module Pester -Force\r\nImport-Module Pester -PassThru # Check the version of the imported module -- we need v5 or greater\r\nInvoke-Pester -Output Detailed\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspberrypi%2Fpico-setup-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraspberrypi%2Fpico-setup-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspberrypi%2Fpico-setup-windows/lists"}