[store_yaml] Embed user YAML in firmware for recovery

Adds a new opt-in component that compresses the on-disk YAML files with zstd
at codegen time and stores them in PROGMEM. The native API exposes a chunked
GetYaml RPC so a lost configuration can be retrieved from a running device.
Decompression happens client-side; no decompressor is shipped on-device.
This commit is contained in:
J. Nick Koston
2026-05-15 10:20:04 -07:00
parent 1674ed9744
commit d0510364c9
24 changed files with 429 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
api:
store_yaml:
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,3 @@
<<: !include common.yaml
network:
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml
@@ -0,0 +1,5 @@
wifi:
ssid: MySSID
password: password1
<<: !include common.yaml