docs(eink): the two e-ink builds in the docs and the site's sim

Docs: the E-ink section describes the landscape and portrait builds, what
the tall screens add, and the settings, with three screenshots; the e-ink
build flags; the release file names. Sim: each orientation gets its own
factory, so a page can load both, and simEinkScale 0 leaves the canvas'
CSS size to the page. CI builds both into solo-sim-wasm.zip (wasm/eink/).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-02 21:38:38 +02:00
co-authored by Claude Opus 5.5
parent e16fe2c621
commit 13d099cf55
12 changed files with 60 additions and 22 deletions
+20 -4
View File
@@ -1,9 +1,9 @@
name: Build Solo Sim (WASM)
# Builds the companion_radio browser sim (real firmware compiled to WASM via
# Emscripten, see variants/sim/) -- the OLED ui-new build, the Wio Tracker L2
# ui-lvgl build and the repeater -- and attaches it to the same draft release
# build-solo-firmwares.yml creates for this tag, as a single fixed-name
# Emscripten, see variants/sim/) -- the OLED ui-new build, the L1 E-ink's,
# the Wio Tracker L2 ui-lvgl build and the repeater -- and attaches it to the
# same draft release build-solo-firmwares.yml creates for this tag, as a single fixed-name
# asset: solo-sim-wasm.zip. Fixed name (no version in it) so
# meshcore-solo-site's server-side deploy script can always fetch it from
# the stable "latest release" download URL without knowing the tag --
@@ -75,14 +75,30 @@ jobs:
LVGL_DIR: ${{ runner.temp }}/lvgl
run: variants/sim/build_wasm.sh
# The L1 E-ink's two builds, landscape (8x13 font) and portrait (6x9);
# the site offers both beside the OLED and the L2.
- name: Build E-ink WASM (landscape)
env:
FIRMWARE_VERSION: ${{ env.BUILD_VERSION }}
SIM_EINK: landscape
run: variants/sim/build_wasm.sh
- name: Build E-ink WASM (portrait)
env:
FIRMWARE_VERSION: ${{ env.BUILD_VERSION }}
SIM_EINK: portrait
run: variants/sim/build_wasm.sh
- name: Build repeater WASM
run: variants/sim/build_wasm_repeater.sh
- name: Package
run: |
mkdir -p out/wasm/companion out/wasm/lvgl out/wasm/repeater
mkdir -p out/wasm/companion out/wasm/lvgl out/wasm/eink out/wasm/repeater
cp variants/sim/web/build/meshcore_sim.js variants/sim/web/build/meshcore_sim.wasm out/wasm/companion/
cp variants/sim/web/build/meshcore_sim_lvgl.js variants/sim/web/build/meshcore_sim_lvgl.wasm out/wasm/lvgl/
cp variants/sim/web/build/meshcore_sim_eink_landscape.js variants/sim/web/build/meshcore_sim_eink_landscape.wasm out/wasm/eink/
cp variants/sim/web/build/meshcore_sim_eink_portrait.js variants/sim/web/build/meshcore_sim_eink_portrait.wasm out/wasm/eink/
cp variants/sim/web/build/repeater/meshcore_sim_repeater.js variants/sim/web/build/repeater/meshcore_sim_repeater.wasm out/wasm/repeater/
cd out && zip -r solo-sim-wasm.zip wasm