Skip to content

EmberOS 1.1.0

Latest

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