KryonOS:把 ESP32 开发板变成能装 App 的 JavaScript 迷你电脑KryonOS: Turns the ESP32 dev board into a JavaScript mini computer that can install apps


AI free token/AI免费积分
KryonOS:把 ESP32 开发板变成能装 App 的 JavaScript 迷你电脑

据 CNX Software 报道,KryonOS 是一个由 JavaScript 驱动的轻量操作系统,可把带触摸屏的 ESP32 开发板变成一台拥有图形界面、应用启动器和文件存储的独立小电脑,无需为每个应用单独编写和烧录固件。

支持主控包括 ESP32(WROOM-32)、ESP32-S2、ESP32-S3 与 ESP32-C3;显示侧支持 ILI9341(配 XPT2046 电阻触摸)并实验性支持 ST7789V2;存储通过 HSPI 总线挂载 MicroSD 卡。系统内置 Duktape 2.x JavaScript 引擎(兼容 ES5/ES5.1),图形引擎采用 16 位 RGB565 直画玻璃渲染,配合 Mini-Sprites 硬件双缓冲消除闪烁;GPIO、ADC、PWM、触摸轮询与统一文件系统(/local/ 与 /sd/)等硬件能力均以 C++ 绑定暴露给 JS。

与只提供解释器的 Espruino 不同,KryonOS 把桌面式界面、文件管理器与 JavaScript「应用商店」整合为一套系统:用户只需烧录一次固件,之后完全通过编写 JS 文本文件控制硬件,应用通过 Wi-Fi 下载安装与更新而无需重新刷机。每个应用可用内存约 90 KB,调用 System.delay(ms) 时会触发垃圾回收以缓解内存碎片。

KryonOS 沿用 ESP32 Marauder v4/v6/v6.1 的显示与触摸引脚定义,可直接运行于这些设备,同时实验性支持 Cheap Yellow Display(CYD)、M5Stack Cardputer 与 LilyGO T-HMI。预编译 .bin 可通过 esptool.py 烧录,也可用 PlatformIO 自行构建,源码、应用开发指南与完整 JS API 文档已在 GitHub 开源。

本文来源:https://www.cnx-software.com/2026-09-26/kryonos-turns-esp32-boards-into-javascript-powered-mini-computer/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。

According to CNX Software, KryonOS is a lightweight operating system powered by JavaScript that can turn an ESP32 development board with a touchscreen into a standalone small computer with a graphical interface, an app launcher, and file storage, without needing to write and flash firmware separately for each application.

Supported main controllers include ESP32 (WROOM-32), ESP32-S2, ESP32-S3, and ESP32-C3; on the display side, it supports ILI9341 (with XPT2046 resistive touch) and experimentally supports ST7789V2; storage mounts MicroSD cards via the HSPI bus. The system is built with the Duktape 2.x JavaScript engine (compatible with ES5/ES5.1), and its graphics engine uses 16-bit RGB565 direct-to-glass rendering, paired with Mini-Sprites hardware double buffering to eliminate flicker; hardware capabilities such as GPIO, ADC, PWM, touch polling, and a unified file system (/local/ and /sd/) are exposed to JS through C++ bindings.

Unlike Espruino, which only provides an interpreter, KryonOS integrates a desktop-like interface, a file manager, and a JavaScript “app store” into a single system: users only need to flash the firmware once, and then control the hardware entirely by writing JS text files; applications can be downloaded, installed, and updated over Wi-Fi without re-flashing. Each application has about 90 KB of available memory, and calling System.delay(ms) triggers garbage collection to alleviate memory fragmentation.

KryonOS reuses the display and touch pin definitions from the ESP32 Marauder v4/v6/v6.1, so it can run directly on those devices, while experimentally supporting Cheap Yellow Display (CYD), M5Stack Cardputer, and LilyGO T-HMI. Precompiled .bin files can be flashed via esptool.py, or built yourself with PlatformIO; the source code, app development guide, and complete JS API documentation are open sourced on GitHub.

KryonOS: Turns the ESP32 dev board into a JavaScript mini computer that can install apps

暂无评论,快来发表第一条评论吧!No comments yet. Be the first!

📮 需求咨询📮 Inquiry