Repository navigation
Contributing
English | Português (BR)
PRs go to main (PT-BR, descriptive commit messages are the house style).
Before opening one, the checklist below is what CI runs — and what a
reviewer will look at.
node test/js_harness/run.js # JS harness (bundled apps, stubbed device APIs)
g++ -std=c++17 test/cpp/run_tests.cpp -o /tmp/celeros_tests && /tmp/celeros_tests # host C++ tests
python3 tools/size_report.py # flash cost — the CYD OTA slot is the binding constraintCI (.github/workflows/build.yml) runs the
JS harness and the host tests on every push/PR and then builds the firmware
for all six boards in the official ESP-IDF container.
-
ES5 only in JS apps (
var,function, no arrow functions) — see System apps. - Board
#ifdefs live only inmain/Boards/<board>/; compile-time differences between boards go in each board'sBoardTraits.h. - Comments, logs and CLI strings in Portuguese, without accents. Text
shown on screen may use accents (fonts cover Latin-1: U+0020..U+00FF, no
em dash, curly quotes or emoji).
tools/acentuar.pyrestores accents inside string literals. - Fallible operations return
ErrorCode(components/ErrorCodes), notesp_err_t; singletons useSingleton<T>with a token ctor;Eventhandlers only set flags. - New JS API = bump
CELEROS_API_LEVELinmain/CMakeLists.txt, document it in bothJS_API_Guidelanguages and add a stub to the harness. - Memory is tight on the CYD (no PSRAM, no exceptions on the hot path): a
std::string/newthat cannot grow aborts the device — on the no-PSRAM path use malloc/realloc (seeHttpClient::setBodySink).
-
This wiki is generated: edit
wiki/in the repo (manifestwiki.json+wiki/pages/), runpython3 tools/wiki/generate.pyto check, and commit — CI publishes on merge. Edits made on the web are overwritten. -
Bilingual, English-first: each hand-written page exists in English
(canonical) and Portuguese (
Placas-Suportadas,Arquitetura, ...). New page = write both, add both towiki.json(page + sidebar, PT pages under the "Português (BR)" section) and cross-link the pair at the top. - The reference guides live in
Documentation/as*.md(EN) +*.pt-BR.mdpairs and are reused by the wiki by path.
Board profiles are small and self-contained — the steps are in Supported boards. Bring-up help is welcome (a photo of the board running CelerOS makes the PR!).
Open an issue with the
board, firmware version and API level (Settings → Sobre, or
celerctl info) plus a celerctl logcat excerpt — or a coredump
(celerctl coredump) if it crashed.
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)