Files
wadamesh/web/scripts
Kaj SchittecatandClaude Opus 5.5 fcda025b08 test: #744 slot recreate in the host build (WADA_PREFS_FILE=1)
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>
2026-10-26 14:11:46 +01:00
..