mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-09-20 16:42:11 +02:00
Shrink LittleFS partition, grow OTA app slots
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).
This commit is contained in:
parent
db22c16bb3
commit
182d859870
4 changed files with 83 additions and 16 deletions
7
partitions.csv
Normal file
7
partitions.csv
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Name, Type, SubType, Offset, Size, Flags
|
||||
nvs, data, nvs, 0x9000, 0x5000,
|
||||
otadata, data, ota, 0xe000, 0x2000,
|
||||
app0, app, ota_0, 0x10000, 0x190000,
|
||||
app1, app, ota_1, 0x1A0000,0x190000,
|
||||
spiffs, data, spiffs, 0x330000,0xC0000,
|
||||
coredump, data, coredump,0x3F0000,0x10000,
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue