mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-11-10 22:27:28 +00:00
web/platform/board.cpp: WADA_PREFS_FILE=1 routes the settings to the devices' file-backed store (SdNvsPrefs::useFile on SPIFFS "/prefs", as src/main.cpp does on a board without SD) instead of the host NVS stand-in. Off by default, so the demo and the tours are unchanged. web/scripts/prefs-slot.sh: first boot writes prefs/touch.kv; touch.alt is then made a damaged read-only file; finishing setup saves into that slot; a reboot must land on Home. With the current SdNvsPrefs.cpp the log shows "slot b ... recreating it" and the reboot is on Home; built with the file as it was before #744 the slot never takes the write and the reboot shows the welcome screen again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>