-
Notifications
You must be signed in to change notification settings - Fork 17
Beta Setup
will-v-pi edited this page Mar 26, 2024
·
3 revisions
Install extension with code --install-extension path-to.vsix
or in the GUI Extensions > three dots > install vsix
.
Supported Platforms: Windows x64, macOS (Sonoma and newer only), Linux x64 and arm64
- Visual Studio Code v1.87.0 or later
All requirements for macOS can be installed by running xcode-select --install
from Terminal
- Git (in PATH)
- Tar (in PATH)
- Native C/C++ compiler (in PATH), supported compilers are:
gcc
andclang
All requirements for Raspberry Pi OS can be installed by running sudo apt install openocd ninja-build
- Python 3.9 or later (in PATH or set in settings)
- Git (in PATH)
- Tar (in PATH)
- Native C/C++ compiler (in PATH), supported compilers are:
gcc
andclang
- Ninja in PATH (arm64 only)
- [Optional] OpenOCD for debuging (Raspberry Pi OS only)
- Open VS Code
- Click the Raspberry Pi icon in the activity bar on the left side of the window and click "New Project" to create a new project, or "New Project From Examples" to copy a project from the pico-examples repository
- ... follow instructions in GUI...
- (Wait while it is generating the new project in the background)
- A new VS Code Window will open (or the current one will be used if empty)
- You'll see a SDK selector in the bottom right bar (together with the "Build UF2" button)
- Click the Raspberry Pi icon in the activity bar on the left side of the window to see more actions