esptool flash_id against the actual DevKitC-1 reports 8MB, not the
4MB partitions.csv/sdkconfig.defaults assumed (never verified against
real hardware, just a leftover placeholder from the ESP-IDF scaffold).
Half the flash was unallocated. Doubled the OTA slots to 3MB each
(headroom for future sensor drivers and Blockly-generated Lua growing
the app image) and let the storage partition absorb the remainder
rather than leave flash unused.
Verified on real hardware: builds, flashes, and boots cleanly with no
errors; the app partition now reports 57% free instead of 14%.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The product pivoted away from a Matter-first nRF54L15 device to an
ESP32-C6/ESP-IDF/C++17 platform where behaviour is defined by a
Blockly-generated Lua program instead of custom firmware (see the
updated kvida meta-repo vision). Removes the west/NCS/Zephyr scaffold
and replaces it with:
- A pinned ESP-IDF v6.0.2 Docker build environment (Espressif's
official image already bundles the toolchain, unlike NCS/west).
- A layered component structure (drivers -> sensors -> profiles ->
lua_runtime -> transport) matching the new architecture principles,
with per-component READMEs describing responsibilities.
- An A/B OTA + LittleFS partition table and a minimal main.cpp.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>