https://github.com/arduino/rp2040tools
https://github.com/arduino/rp2040tools
arduino embedded embedded-systems microcontroller rp2040
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arduino/rp2040tools
- Owner: arduino
- Created: 2021-02-25T12:09:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-13T14:58:50.000Z (5 months ago)
- Last Synced: 2025-01-29T10:51:31.791Z (4 months ago)
- Topics: arduino, embedded, embedded-systems, microcontroller, rp2040
- Language: Go
- Homepage:
- Size: 18.9 MB
- Stars: 25
- Watchers: 14
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rp2040tools
[](https://github.com/arduino/rp2040tools/actions/workflows/check-go-task.yml)
[](https://github.com/arduino/rp2040tools/actions/workflows/check-markdown-task.yml)
[](https://github.com/arduino/rp2040tools/actions/workflows/check-prettier-formatting-task.yml)
[](https://github.com/arduino/rp2040tools/actions/workflows/check-taskfiles.yml)
[](https://github.com/arduino/rp2040tools/actions/workflows/sync-labels.yml)This repo contains all the tools used by Arduino to upload compiled code to the boards that use the rp2040 processor.
## Tools
- [**picotool**](https://github.com/raspberrypi/picotool): a tool for interacting with a RP2040 device in BOOTSEL mode, or with a RP2040 binary
- [**elf2uf2**](https://github.com/raspberrypi/pico-sdk/tree/master/tools/elf2uf2): a tool to convert binary format
- **rp2040load** is a go tool which orchestrates the other two
- [**pioasm**](https://github.com/raspberrypi/pico-sdk/tree/master/tools/pioasm)## CI
The CI is responsible for building and uploading the tools
The [release workflow](https://github.com/arduino/rp2040tools/blob/master/.github/workflows/release.yml) is divided in:- a job which uses a docker container (called crossbuild) with all the toolchains inside required to cross-compile the tools from raspberry pi. The binaries produced are as static and self-contained as possible.
- a job that cross-compiles the go tool called rp2040load.
- one last job used to move in the correct folders the binaries and to `tar.bz2` them and upload them in the [github release page](https://github.com/arduino/rp2040tools/releases) and on s3 download server.