An open API service indexing awesome lists of open source software.

https://github.com/aaronc81/pico-template

Basic CMake-based template project for Raspberry Pi Pico (RP2040)
https://github.com/aaronc81/pico-template

Last synced: 18 days ago
JSON representation

Basic CMake-based template project for Raspberry Pi Pico (RP2040)

Awesome Lists containing this project

README

          

# Raspberry Pi Pico Template Project

Make sure you've got `PICO_SDK_PATH` in your environment set to a checkout of
`https://github.com/raspberrypi/pico-sdk.git`. (If you're using an editor, set
this before launching it so the CMake integration will work properly.)

Then:

1. Clone this template
2. If you like, find-and-replace "pico-project" in CMakeLists.txt with a project
name of your choice
3. To build:

```
mkdir build
cd build
cmake ..
make
```

4. Flash to your Pico with `picotool load pico-project.bin` (change
`pico-project` to your project's name if you renamed it)