Open-Source · MIT License · ESP-IDF v5.5.2 + MicroPython v1.29

Fly MicroPython on ESP32 with a Pure-C Kernel.

PylotOS separates time-critical hardware drivers and anti-brick Dual-OTA firmware updates into a reusable pure-C HAL while giving you an effortless Python runtime across 12 M5Stack & ESP32 boards.

12 CI-Verified Boards ESP32 / S3 / C6 Architectures 1-Click Browser WebSerial
PylotOS Winged Microchip Aviator Mascot
pylotos · quickstart
# Clone & build for Cardputer ADV or Core2
$ git clone --recursive https://github.com/PylotOS/pylotos.git
$ python3 tools/build.py --board m5stack_cardputer_adv
# Or install in 1 click at https://pylotos.org/flash/
Architecture

Classic OS Separation, Built for Real Hardware

Upstream MicroPython remains an untouched submodule while every board profile, C driver, and frozen OS module lives cleanly out-of-tree.

Pure-C HAL

Zero Driver Duplication

Reusable ESP-IDF drivers behind strict C vtables (hal_pmic_ops_t, hal_display_ops_t) with thin declarative board profiles and runtime hardware probing.

Dual-OTA + Rollback

Anti-Brick GitHub Releases

Native C esp_https_ota with full root CA bundle, SHA-256 verification, dual ota_0/ota_1 partitions, and automatic bootloader rollback on crash.

Cloud-Free Bridge

LAN Dev & AI Ready

Designed for local mDNS discovery, ephemeral 6-digit PIN WebSocket JSON-RPC control, self-describing hal.describe(), and local AI coding agent skills.

Open Source First

Docs-as-Code & CI Matrix

Every Pull Request builds all 12 board targets in parallel on ESP-IDF v5.5.2, runs host pytest suites, and automatically deploys the Web Flasher and docs.

Hardware Portfolio

Supported Boards (12 CI-Verified Profiles)

Generated automatically from boards/*/board.json. Filter by Espressif SoC family or jump straight to the Web Flasher:

Board ID Hardware Name SoC Flash / PSRAM USB Offset Install / Docs
m5stack_cardputer_advReferenceM5Stack Cardputer ADVESP32S38 MiB / —0x0Flash → · Guide
m5stack_core2ReferenceM5Stack Core2 (v1.0 & v1.1)ESP3216 MiB / 8 MiB0x1000Flash → · Guide
m5stack_atom_liteM5Stack Atom Lite / MatrixESP324 MiB / —0x1000Flash → · Guide
m5stack_atoms3M5Stack AtomS3ESP32S38 MiB / —0x0Flash → · Guide
m5stack_atoms3rM5Stack AtomS3RESP32S38 MiB / 8 MiB0x0Flash → · Guide
m5stack_cardputerM5Stack Cardputer (v1.0 / v1.1)ESP32S38 MiB / —0x0Flash → · Guide
m5stack_core_basicM5Stack Core Basic (v2.6 / v2.7)ESP3216 MiB / —0x1000Flash → · Guide
m5stack_cores3M5Stack CoreS3 / CoreS3 SEESP32S316 MiB / 8 MiB0x0Flash → · Guide
m5stack_dialM5Stack DialESP32S38 MiB / —0x0Flash → · Guide
m5stack_fireM5Stack Fire (v2.6 / v2.7)ESP3216 MiB / 8 MiB0x1000Flash → · Guide
m5stack_nanoc6M5Stack NanoC6ESP32C64 MiB / —0x0Flash → · Guide
m5stack_stickc_plus2M5Stack StickC Plus2ESP328 MiB / 2 MiB0x1000Flash → · Guide
Live · WebSerial Installer

1-Click Browser Web Flasher for All 12 Boards

Flash PylotOS directly from Chrome or Edge over USB-C — no Python, no esptool, and no toolchain setup required. Includes a built-in browser Serial Console to verify the MicroPython REPL immediately after boot.

M5Stack Cardputer ADV 240x135 Boot Splash Cardputer ADV · 240×135 TFT
M5Stack Core2 320x240 Boot Splash Core2 / CoreS3 · 320×240 TFT