- lv_conf: LVGL widget pool 48 KB internal -> 512 KB PSRAM (LV_MEM_POOL_ALLOC).
It ran out after a few Settings visits (87% used, 31% frag, 4.5 KB biggest
block; lv_mem_buf_get() failed in a label draw - decoded backtrace). Also
frees 48 KB of internal RAM: free 16 -> 69 KB, largest block 7.6 -> 31.7 KB
- lv_conf: LV_ASSERT_HANDLER abort() instead of while(1), which spun inside the
task holding the LVGL lock and froze the UI + console
- wifi_manager: SSID buttons clear their g_ssid_buttons[] slot on
LV_EVENT_DELETE (SquareLine deletes the Settings screen on leave; stale
pointers were lv_obj_del()'d on the next scan). Scan only while the list is
on screen and not connected - 10 s background scans caused the display dots
- main: `mem` console command (internal heap, PSRAM, LVGL pool)
- docs: board page lessons, open-questions #13/#14, ota-updates, CLAUDE.md, log
Verified: 10 Settings visits + 9 list rebuilds, pool peak 4%, 0 crashes; user
confirms no freeze, no reboot, no dots, swipes better.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ota-updates: status table of every OTA cycle (incl. the 570 B abort and the
clean failure path), v0.1.3 published/not installed, 'installs are done by the
running firmware', flicker cause verified, Wi-Fi lost on reboot, console
without reset, B repo now public
- esp32-s3-touch-lcd-5b: drop the unmeasured ~50 FPS claim, USB serial is
native CDC with the DTR/RTS reset gotcha, new lessons (flash-write flicker,
fade stutter, internal RAM, never power the radio off, dual-slot partitions)
- dual-controller-architecture: ESP-NOW/Wi-Fi radio sharing, disconnect(true)
bug, B updates via A over ESP-NOW
- open-questions #14: Wi-Fi UX redesign, remember network, delete v0.1.0
- CLAUDE.md: same FPS / USB-serial corrections; index + log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A main push now skips itself when its commit already carries a v* tag (the tag
build covers it - release with git push --follow-tags) or when it only changes
wiki/** or *.md. Checked inside the job, so tag builds are never path-filtered.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- screen switches use LV_SCR_LOAD_ANIM_NONE: full-screen fades were re-rendered
and blended in software every frame and stuttered at 1024x600
- Tunables: NVS write 3 s after the last change or on leaving the Tuning screen
(Tunables::flush()), not per tap - each flash write flickers the RGB panel
- OTA: backlight off while the image is written, with full-screen notices
before and after; tunables flushed before any reboot
- firmware version shown bottom-right on every screen (lv_layer_top)
- docs: CLAUDE.md, wiki ota-updates, open-questions #13, log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ota: internal RAM has 15.9 KB free / 7.6 KB largest block with Wi-Fi up, so
jobs now run in the loop task (8 KB stack; 3.6 KB headroom measured on
`ota check`) with mbedtls allocations routed to PSRAM during the job
- wifi_manager: WiFi.disconnect(true) powered the radio off and killed ESP-NOW
whenever Wi-Fi was used; now disconnect() only. showConnectionResult() waits
for the LVGL lock and null-checks widgets. New `wifi join|status|off` console
- espnow_link: send() re-initialises ESP-NOW if the driver dropped it
- wiki: ota-updates memory + bugs sections, open-questions #13 (internal RAM),
log; CLAUDE.md notes
Verified on the board: `wifi join` connects, ESP-NOW 195 sent / 0 failed while
joined, `ota check` verifies v0.1.0's signature on-device.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- partition table: two 7.9 MB OTA slots, SPIFFS dropped, nvs/otadata offsets
unchanged (tunables survived the one-time USB flash)
- ota_update.cpp: manual `ota status|check|install|rollback` console; HTTPS
pull from the public repo's latest release, ECDSA P-256 signature over
"patrol-a|version|sha256" checked before download, streamed image must match,
parked gate before download and before the slot switch, 30 s
confirm-or-rollback (verifyRollbackLater override)
- ota_config.h: server/repo, ISRG Root X1 + Root YR, signing public key
- .gitea/workflows/firmware.yml: main -> rolling unsigned pre-release
main-latest; v* tag -> signed release (needs secret FIRMWARE_SIGNING_KEY)
- wiki: pages/ota-updates.md (design, decisions, B-over-ESP-NOW plan);
CLAUDE.md, index, log, open-questions #12 updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>