A template project for quick-starting C-based RP2040 Raspberry Pi Pico projects in Visual Studio Code, using the picoprobe programmer.
This assumes that
- You have already installed OpenOCD with picoprobe, according to the steps in Getting Started, Appendix A
- Your VSCode has already been configured according to the steps in Getting Started, Chapter 6
- You have installed the picoprobe uf2 to one Pico, and it is connected to the other Pico with the correct wiring (refer again to Appendix A).
- Make a project directory in your pico-sdk parent directory (usually
~/pico
, with sdk at~/pico/pico-sdk
), e.g. make~/pico/my-project
. - Press [Use this template], or, download this template as a zip.
- Clone your repository/Unzip the downloaded folder to your new project directory.
- Write whatever you want in main.c, add more files, go wild...