fix: update spiffs offset and sizes in firmware and partitions configuration

This commit is contained in:
Manuel Weiser 2025-02-20 00:33:16 +01:00
parent 499a08aa75
commit bb0f50ce1d
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ jobs:
0x1000 .pio/build/esp32dev/bootloader.bin \ 0x1000 .pio/build/esp32dev/bootloader.bin \
0x8000 .pio/build/esp32dev/partitions.bin \ 0x8000 .pio/build/esp32dev/partitions.bin \
0x10000 .pio/build/esp32dev/firmware.bin \ 0x10000 .pio/build/esp32dev/firmware.bin \
0x290000 .pio/build/esp32dev/spiffs.bin 0x3D0000 .pio/build/esp32dev/spiffs.bin
- name: Prepare OTA firmware - name: Prepare OTA firmware
run: | run: |

View File

@ -1,6 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags # Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000, nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000, otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x140000, app0, app, ota_0, 0x10000, 0x1E0000,
app1, app, ota_1, 0x150000, 0x140000, app1, app, ota_1, 0x1F0000, 0x1E0000,
spiffs, data, spiffs, 0x290000, 0x170000, spiffs, data, spiffs, 0x3D0000, 0x30000,
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 0x140000 0x1E0000
5 app1 app ota_1 0x150000 0x1F0000 0x140000 0x1E0000
6 spiffs data spiffs 0x290000 0x3D0000 0x170000 0x30000