chechu2k5 / rp2040tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rp2040tools

This repo contains all the tools used by Arduino to upload compiled code to the boards that use the rp2040 processor. The repo includes also the dependencies and the Dockerfile used to crosscompile the tools.

Tools

  • picotool: a tool for interacting with a RP2040 device in BOOTSEL mode, or with a RP2040 binary
  • elf2uf2: a tool to convert binary format
  • rp2040load is a go tool which orchestrates the other two

CI

The CI is responsible for building and uploading the tools The release workflow is divided in:

  • a job which uses a docker container (called crossbuild) with all the toolchains inside required to cross-compile the two 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 and on s3 download server.

About


Languages

Language:C 67.8%Language:Shell 20.5%Language:Makefile 5.8%Language:Perl 2.4%Language:Roff 1.1%Language:C++ 1.0%Language:M4 0.8%Language:Python 0.4%Language:Batchfile 0.1%Language:Dockerfile 0.1%Language:Go 0.1%