Repository navigation
Barebone Devkit
English | Português (BR)
CelerOS runs on a plain ESP32 devkit with no display at all: the "screen" is the on-board LED, the "touch" is the BOOT button, and the console/celerctl runs on the UART. The whole OS boots exactly like on the other boards — the launcher is just invisible (the display is a stub panel that discards rendering) — and JS apps run headless: timers, Storage, Net, FS, GPIO and notifications all work without drawing anything.
Build with:
idf.py -B build-devkit \
-DSDKCONFIG=build-devkit/sdkconfig \
-DSDKCONFIG_DEFAULTS="sdkconfig.defaults;boards/devkit/sdkconfig.defaults" \
-DCELEROS_BOARD=devkit set-target esp32
idf.py -B build-devkit build flash -p /dev/ttyUSB0 monitor| Signal | GPIO | Notes |
|---|---|---|
| Status LED | GPIO2 | Single-channel LED (DOIT DevKit v1 blue LED), active-high, PWM via System.led. Boards with the LED elsewhere: edit main/Boards/devkit/Board.cpp
|
| BOOT button | GPIO0 | Active-low with pull-up. Input to apps via System.button() (API 17) — see below |
| UART0 console | GPIO1/3 |
celerctl + logs (CH340 or USB-UART bridge). Denied to the JS GPIO API (gpioDeniedMask) |
| SD / speaker / battery | — | None on the profile; free GPIOs are available to System.gpio
|
No touch, no calibration, no backlight: the profile sets
capacitiveTouch = true and has no screen hooks, so ScreenPower and
Backlight are no-ops. Flash budget matches the CYD (4MB, 1.56MB OTA
slots); OTA updates come from the updates/devkit/ channel.
-
Button as app input — the profile sets
buttonToApp, so BOOT no longer acts as "home" inside an app: short presses surface throughSystem.button()(0none,1short,2held ~1.2 s — and holding does exit the app). On the launcher, a short press relaunches thehomeApp, so the device never gets stuck in the invisible launcher. -
The app IS the device — set
/local/autostart.txt(e.g.celeros.barebone, viacelerctl pushor the web file manager) or build ahomeAppinto the profile. The stock Barebone app (data/apps/Barebone) is the reference: LED patterns switched by BOOT, pattern persisted inStorage. - Runtime errors are dismissible without touch — the error screen waits for a touch or a button press.
-
Feature-detect the glass —
System.getInfo().hasDisplayisfalseandshapeis"headless"; apps that draw should check before touching the Canvas.
The native setup screen and captive portal need a display, so the path is the shell over UART:
celerctl shell
wifi # list saved networks
wifi MyNetwork myPass123 # save to NVS and connect (background)
info # shows the IP once connected
With WiFi up, the web interface
works as usual (file manager, /update OTA upload, app installs).
-
/screenand screenshots serve an empty image — the stub panel keeps no framebuffer (a 240x320x2 buffer does not fit the ~70 KB of boot heap on a PSRAM-less ESP32). - Display-centric apps are excluded from the factory image
(
boards/devkit/data-exclude.txt); anything that only draws is dead weight here. - Apps must still yield (
System.delay/System.buttonin the loop) — same watchdog rules as every board.
Esta wiki e gerada automaticamente pelo CI a partir de wiki/ no repositorio. Edicoes feitas pela web serao sobrescritas.
Get started
Under the hood
Tools
Robotics
Wearables
Barebone
JavaScript apps
Contributing
Português (BR)