Repolode
engneer-hamachan

engneer-hamachan/area512

An OS for the M5Stack Cardputer handheld with 512KB RAM, letting you write, compile and run Ruby and Python on the device itself.

Stars
106
Forks
8
Open issues
1
Last commit
3 days ago

What is it?

AREA512 is an operating system for the Cardputer ADV and Cardputer v1.1, small ESP32-S3 handhelds with 512KB of RAM and 8MB of flash. It is built on FemtoRuby and includes MicroPython, so developers can write and run Ruby or Python directly on the device without a host computer.

The system ships with a vim-style on-device editor that offers syntax highlighting, auto-indentation, code completion and diagnostics, along with Ruby and MicroPython REPLs. Built-in APIs cover graphics, sprites, widgets, files and hardware access. Preinstalled apps include a writer, scheduler, spreadsheet, paint program, and a few games, and their source serves as examples.

Besides the Cardputer hardware, the firmware supports 320x240 ST7789 and ILI9341 panels and the T-Deck Plus. Installation uses esptool to flash a prebuilt binary, and a microSD card is needed for app data.

Key features

  • 01Write, compile and run Ruby and Python on the device
  • 02Vim-style editor with syntax highlighting, completion and diagnostics
  • 03Ruby and MicroPython REPLs on the device
  • 04Built-in APIs for graphics, sprites, widgets, files and hardware
  • 05Preinstalled apps for documents, spreadsheets, scheduling, drawing and games

Use cases

  • Learning Ruby or Python on a pocket-sized device
  • Prototyping small handheld apps or games for the Cardputer
  • Experimenting with ESP32-S3 hardware through a scripting environment

Quick start

  1. 1

    Install esptool with pip

    pip install esptool
  2. 2

    Download the firmware for your device from the installation guide

  3. 3

    Flash the Cardputer ADV firmware (use the line for your device)

    esptool.py -c esp32s3 -b 460800 write_flash --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 firmware/Area512Adv.bin
  4. 4

    Insert a FAT32-formatted microSD card into the device

Things to know

  • Runs only on specific hardware: Cardputer ADV, Cardputer v1.1, T-Deck Plus, or 320x240 panels.
  • The device has only 512KB of RAM and needs a microSD card for app data.

In collections

Topics

#embedded#esp32#ruby#micropython#microcontroller#handheld#repl#cardputer#cardputer-adv#m5stack

FAQ

What is area512?
An OS for the M5Stack Cardputer handheld with 512KB RAM, letting you write, compile and run Ruby and Python on the device itself. AREA512 is an operating system for the Cardputer ADV and Cardputer v1.1, small ESP32-S3 handhelds with 512KB of RAM and 8MB of flash. It is built on FemtoRuby and includes MicroPython, so developers can write and run Ruby or Python directly on the device without a host computer.
Is area512 free to use? What license does it have?
area512 is open source under the MIT license. Check the license terms before using it in commercial products.
Is area512 still maintained?
Actively maintained. The last commit to area512 was on Nov 4, 2026.
What can I use area512 for?
Learning Ruby or Python on a pocket-sized device Prototyping small handheld apps or games for the Cardputer Experimenting with ESP32-S3 hardware through a scripting environment
How do I install area512?
Install esptool with pip: pip install esptool Download the firmware for your device from the installation guide Flash the Cardputer ADV firmware (use the line for your device): esptool.py -c esp32s3 -b 460800 write_flash --flash_mode dio --flash_size 8MB --flash_freq 80m 0x0 firmware/Area512Adv.bin Insert a FAT32-formatted microSD card into the device
Where can I get area512?
The source code and installation instructions are on GitHub: https://github.com/engneer-hamachan/area512

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects