feat(eink): lettering clock on the portrait e-ink, 4.2" and 4.26" simulator builds in the release workflow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-12 22:34:05 +02:00
co-authored by Claude Opus 5.5
parent a7b1c3417b
commit b41d77fbb2
3 changed files with 33 additions and 21 deletions
+6 -5
View File
@@ -194,17 +194,18 @@ if [ "$SIM_UI" = "lvgl" ]; then
LINK_EXTRA=(-sFETCH=1) # map downloads (LvglPort.h) go through emscripten_fetch
fi
# SIM_EINK=landscape|portrait|wide: ui-new on the Wio Tracker L1 E-ink's 2.13"
# panel (122x250, solo/wio-tracker-l1-eink's two builds) or the 4.2" one
# (400x300, its third) instead of the OLED ->
# web/index.html?build=meshcore_sim_eink_landscape (or _portrait, _wide).
# SIM_EINK=landscape|portrait|wide|big: ui-new on the Wio Tracker L1 E-ink's
# 2.13" panel (122x250, solo/wio-tracker-l1-eink's two builds), the 4.2" one
# (400x300, its third) or the 4.26" one (800x480, its fourth) instead of the
# OLED -> web/index.html?build=meshcore_sim_eink_landscape (or _portrait, ...).
SIM_EINK="${SIM_EINK:-}"
if [ -n "$SIM_EINK" ]; then
case "$SIM_EINK" in
landscape) EINK_DEFS=(-DDISPLAY_ROTATION=1 -DEINK_LARGE_FONT=1 -DSIM_EINK_PANEL_W=122 -DSIM_EINK_PANEL_H=250); EXPORT_NAME=MeshCoreSimEinkLandscape ;;
portrait) EINK_DEFS=(-DDISPLAY_ROTATION=0 -DSIM_EINK_PANEL_W=122 -DSIM_EINK_PANEL_H=250); EXPORT_NAME=MeshCoreSimEinkPortrait ;;
wide) EINK_DEFS=(-DDISPLAY_ROTATION=0 -DEINK_LARGE_FONT=2 -DSIM_EINK_PANEL_W=400 -DSIM_EINK_PANEL_H=300); EXPORT_NAME=MeshCoreSimEinkWide ;;
*) echo "error: SIM_EINK must be landscape, portrait or wide" >&2; exit 1 ;;
big) EINK_DEFS=(-DDISPLAY_ROTATION=0 -DEINK_LARGE_FONT=2 -DEINK_FONT_SCALE=2 -DSTATUS_ICON_SCALE=0 -DSIM_EINK_PANEL_W=800 -DSIM_EINK_PANEL_H=480); EXPORT_NAME=MeshCoreSimEinkBig ;;
*) echo "error: SIM_EINK must be landscape, portrait, wide or big" >&2; exit 1 ;;
esac
OUT_NAME="meshcore_sim_eink_$SIM_EINK"
# Distinct factories (set above): web/mesh.html?a=... loads one beside