Skip to content

Releases

EmberOS 1.1.0

Choose a tag to compare

@huagc huagc released this 01 Dec 16:09

EmberOS 1.1.0

EmberOS turns the M5Stack Cardputer ADV into a complete LavaX learning machine with an on-device compiler, a syntax-highlighting editor, bilingual tutorials, an offline dictionary, and a keyboard-only launcher.

Faster LavaX VM

  • Contiguous 16/32-bit VM data accesses now use the ESP32-S3 hardware unaligned l16ui, l32i, s16i, and s32i instructions instead of four byte-oriented DataStore::operator[] calls.
  • Paged data, bounds checks, sign extension, and debug hooks keep their existing behavior.
  • In a controlled Cardputer ADV benchmark compiling the tutorial Tetris source, the three-run median dropped from 5.7290 s to 4.8878 s: 14.68% less time, or 17.21% higher throughput. The generated .lav remains byte-identical to the PC reference compiler.

Upgrade from 1.0.1

Flash the new merged firmware. The 120 files in the TF-card package have unchanged contents from 1.0.1, so an existing 1.0.1 card does not need to be replaced for this update. Flashing only the firmware preserves the card's language, theme, documents, tutorial progress, and save data.

Download and install

  1. Flash emberos-cardputer-adv-v1.1.0-firmware.bin at 0x0:
    esptool.py --chip esp32s3 -p <port> -b 115200 --no-stub write_flash 0x0 emberos-cardputer-adv-v1.1.0-firmware.bin
  2. For a new installation, extract emberos-cardputer-adv-v1.1.0-tfcard.zip to the FAT32 TF-card root.
  3. Insert the card and power on. A new card asks for Chinese or English on first boot.

To verify the downloads, place all three assets in one directory and run sha256sum -c SHA256SUMS-1.1.0.txt there. The checksum file uses bare filenames.

Verification

  • Host regression suite passed, including 104 C++ VM tests. Seven fixtures were skipped because optional local font/dictionary inputs are not included in the public tree.
  • Full rebuild passed; 27 public artifacts matched their SHA-256 manifest byte-for-byte.
  • The actual merged release image was flashed on a Cardputer ADV. Three on-device Tetris compilations had a 4.8874 s median, returned to the launcher, and produced byte-identical reference output.
  • The TF-card ZIP passed integrity and content checks: 120 entries, bilingual tutorials, dictionary data, themes, and collected games, without user configuration files.

Notes

  • External TERM512 320x240 panel only; the Cardputer internal display is not used.
  • TF card required.
  • Brightness control and full panel sleep are not finished; they require backlight/power-control hardware changes.
  • Third-party games under third-party/lav-games/ are collected from the network; their licenses are unknown. See THIRD-PARTY.md in the card package.

Files

  • emberos-cardputer-adv-v1.1.0-firmware.bin — merged firmware, 1,699,376 bytes
  • emberos-cardputer-adv-v1.1.0-tfcard.zip — TF-card package, 24,857,132 bytes
  • SHA256SUMS-1.1.0.txt — SHA-256 checksums for both assets

EmberOS 1.0.1

Choose a tag to compare

@huagc huagc released this 01 Dec 12:40

EmberOS 1.0.1

EmberOS turns the M5Stack Cardputer ADV into a complete LavaX learning machine: a self-hosting compiler, a syntax-highlighting editor with completion, a bilingual on-device tutorial, an offline dictionary, and a keyboard-only launcher.

Highlights

  • Self-hosting LavaX compiler (lavac -> gen1 -> gen2)
  • Paper-theme editor with syntax highlighting and completion
  • Full keyboard UI; no touch or mouse
  • Native Chinese/English UI with one global language switch
  • 13-chapter tutorial plus a complete Tetris, readable on the device
  • Designed for ESP32-S3FN8, 8 MB flash, 512 KB SRAM class, no PSRAM
  • Runs existing GVM1 .lav programs
  • USB frame capture, key injection, file upload, and diagnostics

Download and install

  1. Flash emberos-cardputer-adv-v1.0.1-firmware.bin at 0x0:
    esptool.py --chip esp32s3 -p <port> -b 115200 --no-stub write_flash 0x0 emberos-cardputer-adv-v1.0.1-firmware.bin
  2. Extract emberos-cardputer-adv-v1.0.1-tfcard.zip to the FAT32 TF-card root.
  3. Insert the card and power on. First boot asks for Chinese or English.

See README.md / README.en.md in the repository for details.

Changes in 1.0.1

  • Fixed README emphasis rendering. Firmware and TF-card contents are unchanged.

Notes

  • External TERM512 320x240 panel only; the Cardputer internal display is not used.
  • TF card is required.
  • Brightness control and full panel sleep are not finished; they require backlight/power-control hardware changes.
  • Third-party games under third-party/lav-games/ are collected from the network; their licenses are unknown. See THIRD-PARTY.md in the card package.

Files

  • emberos-cardputer-adv-v1.0.1-firmware.bin
  • emberos-cardputer-adv-v1.0.1-tfcard.zip
  • SHA256SUMS-1.0.1.txt