feat: Implement OTA status API with partition information, define ESP32 partition layout, add ArrayCount utility, and include agent interaction rules.

This commit is contained in:
2026-03-03 21:38:52 -05:00
parent ad65bf520b
commit 849d126ce0
4 changed files with 28 additions and 7 deletions

View File

@@ -1,6 +1,9 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
otadata, data, ota, , 0x2000,
phy_init, data, phy, , 0x1000,
factory, app, factory, , 2M,
ota_0, app, ota_0, , 2M,
ota_1, app, ota_1, , 2M,
www_0, data, littlefs, , 1M,
www_1, data, littlefs, , 1M,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x6000
3 phy_init otadata data phy ota 0xf000 0x1000 0x2000
4 factory phy_init app data factory phy 0x10000 1M 0x1000
5 factory app factory 2M
6 ota_0 app ota_0 2M
7 ota_1 app ota_1 2M
8 www_0 data littlefs 1M
9 www_1 data littlefs 1M