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 Zero Cloud Lock-In
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
# Outputs: *-full.bin (USB 0x0) + *-ota.bin (Dual-OTA)
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 syncs tutorials to Wiki and Pages.

Hardware Portfolio

Supported Boards (12 CI-Verified Profiles)

Generated automatically from boards/*/board.json. Filter by Espressif SoC family:

Board ID Hardware Name SoC Flash / PSRAM USB Offset Documentation
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 / —0x1000Board Spec →
m5stack_atoms3M5Stack AtomS3ESP32S38 MiB / —0x0Board Spec →
m5stack_atoms3rM5Stack AtomS3RESP32S38 MiB / 8 MiB0x0Board Spec →
m5stack_cardputerM5Stack Cardputer (v1.0 / v1.1)ESP32S38 MiB / —0x0Board Spec →
m5stack_core_basicM5Stack Core Basic (v2.6 / v2.7)ESP3216 MiB / —0x1000Board Spec →
m5stack_cores3M5Stack CoreS3 / CoreS3 SEESP32S316 MiB / 8 MiB0x0Board Spec →
m5stack_dialM5Stack DialESP32S38 MiB / —0x0Board Spec →
m5stack_fireM5Stack Fire (v2.6 / v2.7)ESP3216 MiB / 8 MiB0x1000Board Spec →
m5stack_nanoc6M5Stack NanoC6ESP32C64 MiB / —0x0Board Spec →
m5stack_stickc_plus2M5Stack StickC Plus2ESP328 MiB / 2 MiB0x1000Board Spec →
Roadmap · Phase 5

Zero-Touch Web Flasher & Embedded Boot Splashes

Soon you will be able to flash any supported M5Stack board directly from Chrome/Edge via WebSerial at flash.pylotos.org with client-side NVS Wi-Fi provisioning. Today you can already flash our CI binaries over USB-C in 60 seconds.

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