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.
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.
# 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)
Upstream MicroPython remains an untouched submodule while every board profile, C driver, and frozen OS module lives cleanly out-of-tree.
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.
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.
Designed for local mDNS discovery, ephemeral 6-digit PIN WebSocket JSON-RPC control, self-describing hal.describe(), and local AI coding agent skills.
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.
Generated automatically from boards/*/board.json. Filter by Espressif SoC family:
| Board ID | Hardware Name | SoC | Flash / PSRAM | USB Offset | Documentation |
|---|---|---|---|---|---|
m5stack_cardputer_advReference | M5Stack Cardputer ADV | ESP32S3 | 8 MiB / — | 0x0 | Flash Guide → |
m5stack_core2Reference | M5Stack Core2 (v1.0 & v1.1) | ESP32 | 16 MiB / 8 MiB | 0x1000 | Flash Guide → |
m5stack_atom_lite | M5Stack Atom Lite / Matrix | ESP32 | 4 MiB / — | 0x1000 | Board Spec → |
m5stack_atoms3 | M5Stack AtomS3 | ESP32S3 | 8 MiB / — | 0x0 | Board Spec → |
m5stack_atoms3r | M5Stack AtomS3R | ESP32S3 | 8 MiB / 8 MiB | 0x0 | Board Spec → |
m5stack_cardputer | M5Stack Cardputer (v1.0 / v1.1) | ESP32S3 | 8 MiB / — | 0x0 | Board Spec → |
m5stack_core_basic | M5Stack Core Basic (v2.6 / v2.7) | ESP32 | 16 MiB / — | 0x1000 | Board Spec → |
m5stack_cores3 | M5Stack CoreS3 / CoreS3 SE | ESP32S3 | 16 MiB / 8 MiB | 0x0 | Board Spec → |
m5stack_dial | M5Stack Dial | ESP32S3 | 8 MiB / — | 0x0 | Board Spec → |
m5stack_fire | M5Stack Fire (v2.6 / v2.7) | ESP32 | 16 MiB / 8 MiB | 0x1000 | Board Spec → |
m5stack_nanoc6 | M5Stack NanoC6 | ESP32C6 | 4 MiB / — | 0x0 | Board Spec → |
m5stack_stickc_plus2 | M5Stack StickC Plus2 | ESP32 | 8 MiB / 2 MiB | 0x1000 | Board Spec → |
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.
Cardputer ADV · 240×135 TFT
Core2 / CoreS3 · 320×240 TFT