https://github.com/sixf0ur/rpi-pico-docker-template
A template to compile C/C++ faster for the RP2040 with docker.
https://github.com/sixf0ur/rpi-pico-docker-template
c cpp docker rp2040 rpi-pico
Last synced: 2 months ago
JSON representation
A template to compile C/C++ faster for the RP2040 with docker.
- Host: GitHub
- URL: https://github.com/sixf0ur/rpi-pico-docker-template
- Owner: sixf0ur
- Created: 2025-01-08T13:26:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T13:49:53.000Z (over 1 year ago)
- Last Synced: 2025-03-04T06:14:29.920Z (over 1 year ago)
- Topics: c, cpp, docker, rp2040, rpi-pico
- Language: Batchfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpi-pico-docker-template
A template to compile C/C++ faster for the RP2040 with docker.
## Usage
Make sure Docker is installed on your system.
You need to pull the [`lukstep`](https://hub.docker.com/r/lukstep/raspberry-pi-pico-sdk) Docker image:
```
docker pull lukstep/raspberry-pi-pico-sdk
```
### For Mac/Linux:
Make the script executable:
```
chmod +x build.sh
```
Then, build the project with:
```
./build.sh
```
### For Windows:
Build the project with
```
./build.bat
```
## Uploading the Code
Using an editor or the command line, simply copy the executable: `my_project/build/my_project.uf2`
to the RP2040.