Packages

Package Repository

The packages in the RPCortex repository. On v2, install them with the RPCortex tool or with pkg install on the board. On v1, this page installs them over USB.

Packages for RPCortex v2
A v2 package is a compiled .app file. Install one on the board with
pkg install <name>, or from the browser with the RPCortex tool.
Connecting a board here shows what it already has, and which catalogue matches it;
with nothing connected the page shows v2. The v1 catalogue, Python .pkg
files for MicroPython, is one menu away, and v1 packages install from this page.
No device connected

Needs Chrome, Edge or Opera on a desktop. Close PuTTY or any other terminal before connecting. Reading what is installed works from the shell or the login prompt. On v1 this page installs too; on v2 installing goes through the RPCortex tool.

Showing the v2 catalogue. Connect a device to match it automatically.
Installing on a v2 board? The RPCortex tool does it from the browser: it connects, sends the package with a checksum and installs it. Or type pkg install <name> on the board.
Loading packages…

Install a local .pkg file

📦

Drag & drop a .pkg file here

or
v2, from the shell
pkg update               # refresh the list
pkg search web           # or bare, to list everything
pkg install httpd
pkg list                 # what is installed
pkg upgrade              # everything with a newer version
pkg remove httpd

The official repository is configured out of the box, so pkg update works on a device that has never been told where to look. Packages are native .app objects built for ARMv6-M, which is why one binary runs on both the RP2040 and RP2350 parts, and on RP2350 they run unprivileged, on a stack and a heap of their own, unable to reach the rest of the system.

v1: the MicroPython line
pkg repo add https://raw.githubusercontent.com/dash1101/RPCortex-repo/main/repo/index.json
pkg update
pkg available
pkg install <name>

Build your own package

A v2 package is C compiled against the firmware ABI: about twenty lines for one that registers a working shell command. The guide walks through writing it, building it, the three ways to get it onto a device, what the sandbox means while you are developing, and publishing it here.

Package Dev Guide →

Installing package…

Transferring to device over serial.