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)
- Host: GitHub
- URL: https://github.com/aaronc81/pico-template
- Owner: AaronC81
- License: mit
- Created: 2021-01-22T20:38:46.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-22T20:55:13.000Z (almost 5 years ago)
- Last Synced: 2025-03-06T15:17:08.300Z (10 months ago)
- Language: CMake
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)