mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-09-20 16:42:11 +02:00
Web assets only use ~489 KB but the default 1.375 MB spiffs partition wasted the rest. Rebalance to 768 KB spiffs / 1.56 MB per app slot (was 1.25 MB), giving the tight esp32 build real headroom (99.6% -> 79.7% flash used) while preserving dual-slot OTA. Wire the custom layout into both the local PlatformIO build (new partitions.csv + platformio.ini) and the Arduino-CLI CI/release pipeline (PartitionScheme=custom, matching littlefs image size and merge_bin offset).
304 B
304 B
| 1 | # Name | Type | SubType | Offset | Size | Flags |
|---|---|---|---|---|---|---|
| 2 | nvs | data | nvs | 0x9000 | 0x5000 | |
| 3 | otadata | data | ota | 0xe000 | 0x2000 | |
| 4 | app0 | app | ota_0 | 0x10000 | 0x190000 | |
| 5 | app1 | app | ota_1 | 0x1A0000 | 0x190000 | |
| 6 | spiffs | data | spiffs | 0x330000 | 0xC0000 | |
| 7 | coredump | data | coredump | 0x3F0000 | 0x10000 |