Skip to content

dash1101/RPCortex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

124 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RPCortex Logo


RPCortex — Nebula β81

RPCortex is a CLI operating system for the Raspberry Pi Pico, ESP32, and compatible boards, written entirely in MicroPython. It turns a microcontroller into something that actually behaves like a computer — a real interactive shell, user accounts with passwords, a package manager, WiFi, a text editor, and a structured boot process with hardware checks.

It runs on hardware with 264KB of RAM. That constraint is the point.


What it feels like

You flash MicroPython, copy the files, open PuTTY at 115200 baud, and reboot. POST runs — registry check, CPU test, memory verification, clock calibration, WiFi probe. You set a root password. You log in. The prompt comes up:

root@nebula:~>

From there you have a shell that works. ls shows your files with sizes and timestamps. cd ~ takes you home. Up/down arrows scroll your last 50 commands. Left/right arrows move the cursor so you can edit a command mid-line. You can open a file, edit it, save it. You can connect to WiFi and download a package by name. You can overclock the CPU, benchmark it, and check the temperature — all from the same prompt.

It's not trying to be Linux. It's a $4 microcontroller running MicroPython. But within those constraints, it behaves like a real system.


What you can do with it

Use it as a shell environment. Browse and manage files, run scripts, edit configs. The filesystem commands cover everything standard: ls, cd, cp, mv, rm, tree, df. The text editor opens any file over serial.

Connect to the internet. WiFi connects on any Pico W or ESP32. wget streams files directly to flash. curl fetches APIs. runurl downloads and executes a Python file in one step. Autoconnect on boot if you want it.

Install software. The package manager works like you'd expect: pkg install <name>, pkg remove <name>, pkg upgrade. Packages are listed in repo indexes — add the official repo, run pkg update, and everything in the index is a single command away. Installed commands show up in the shell immediately.

Install packages from your browser. The web package browser lets you install packages directly to a connected device over USB — no WiFi, no REPL, no reboot required. Connect your device, click Install, done.

Manage users. Create accounts with mkacct, change passwords with chpswd, remove accounts with rmuser. Each user gets their own home directory. The guest account requires no password.

Tune the hardware. pulse set 220 overclocks to 220 MHz. pulse boot 200 sets a boot clock. bench runs NebulaMark. freeup compacts the heap when things get fragmented after heavy use.

Configure the system. settings opens an interactive panel where you toggle boot overclocking, WiFi autoconnect, verbose boot, the beeper, and SD card support. reg get/reg set writes directly to the registry if you need something the panel doesn't cover.


Supported Hardware

Board Status
Raspberry Pi Pico 2 W (RP2350 + WiFi) Recommended
ESP32-S3 Recommended
Raspberry Pi Pico (RP2040) Supported
Raspberry Pi Pico W (RP2040 + WiFi) Supported
Raspberry Pi Pico 2 (RP2350) Supported
ESP32 / ESP32-S2 Supported

Requires MicroPython v1.20 or newer. v1.27+ recommended. 4MB flash minimum.


Getting Started

Easiest: Use the Web Installer — flashes RPCortex directly from your browser over USB. No desktop software required (Chrome/Edge only).

Manual:

  1. Flash MicroPython to your board
  2. Copy all files from this repo to the board's filesystem
  3. Open a serial terminal at 115200 baud — PuTTY on Windows, minicom or screen on Linux/macOS
  4. Reboot — main.py runs automatically
  5. Set your root password on first boot, then log in
wifi connect
pkg repo add http://rpc.novalabs.app/repo/index.json
pkg update
pkg available
pkg install HelloWorld

Documentation

  • NebulaDocs.md — full command reference, shell controls, registry keys, networking guide, package format
  • release.md — what's in this version
  • Package Dev Guide — build and publish your own packages
  • Issues — bug reports and feature requests

License

Open source. Explicit credit to @dash1101 is required for use in public projects. See LICENSE.


RPCortex Nebula β81 — v0.8.1-beta2

About

RPCortex is a free and open-source feature rich operating system written in MicroPython for the RP2040, and RP2350 processors.

Topics

Resources

License

Stars

Watchers

Forks

Contributors