feat: config module — NVS read/write via Preferences

Add config.h/config.cpp for DeviceConfig NVS persistence using Arduino
Preferences library. Add minimal main.cpp stub. Fix partition table
overlap (nvs 0x6000→0x5000, otadata 0xf000→0xe000) so firmware builds.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 14:02:28 -07:00
parent f4d9e1b2a5
commit d5afd0bd87
4 changed files with 77 additions and 2 deletions

3
firmware/src/main.cpp Normal file
View File

@@ -0,0 +1,3 @@
#include <Arduino.h>
void setup() {}
void loop() {}