You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Git](https://gitforwindows.org/) and [VSCode](https://code.visualstudio.com/) are required to build the firmware. To install build dependencies, you will need to use [VSCode Raspberry Pi Pico extension](https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico) and create an pico-example project (any project will trigger the download of pico-sdk, a collection of tools required to build the firmware locally).
91
+
[Git](https://gitforwindows.org/) and [VSCode](https://code.visualstudio.com/) are required to build the firmware. To install build dependencies, you will need to use:
92
+
[VSCode Raspberry Pi Pico extension](https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico) and create an pico-example project (any project will trigger the download of pico-sdk, a collection of tools required to build the firmware locally). When creating the example project, select a Pico SDK version of v2.1.1 in the version dropdown.
92
93
93
94
Then you can verify the installation of pico-sdk by inspecting the path from `C:\Users\<user name>\.pico-sdk`.
94
95

95
96
96
97
### Downloading Source Code
97
98
98
99
From PowerShell, execute below command to fetch the source code:
From the same workspace root directory, run the below command to build the firmware from source code into the `build` directory:
136
+
124
137
cmake --build build --config Debug
125
-
138
+
126
139
On success, you can find the app.uf2 from `<workspace_root>/build/` directory.
127
140
128
141
### Use VSCode
129
142
130
143
You need to call VScode from script to pre-configure environment variables. You can simply call
144
+
131
145
.\run_vscode.ps1
146
+
132
147
133
148
The VSCode cmake plugin is pre-configured to build for Pico 2W by default. You can change the build config to Pico W by modifying `<workspace_root>.vscode/settings.json`.
0 commit comments