mikalhart / ESP32-OTA-Pull

An ESP32/Arduino library for doing easy "pull"-based OTA ("Over The Air") updates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any way to use it with partition configuration?

pruge opened this issue · comments

An error occurs if the partition is configured as follows.
log is as follows:

  • custom.csv
# Name,   Type, SubType, Offset,  Size, Flags
nvs,      data, nvs,     0x9000,  0x5000,
otadata,  data, ota,     0xe000,  0x2000,
app0,     app,  ota_0,   0x10000, 0x300000,
spiffs,   data, spiffs,  0x310000,0xE0000,
coredump, data, coredump,0x3F0000,0x10000,
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
  bblanchon/ArduinoJson@^6.21.3
  https://github.com/mikalhart/ESP32-OTA-Pull.git

monitor_speed = 115200
board_build.partitions = custom.csv
Updating 1280 of 280944 (00%)...
Updating 2560 of 280944 (00%)...
Updating 3840 of 280944 (01%)...

abort() was called at PC 0x40081f6e on core 1


Backtrace: 0x40083679:0x3ffca860 0x4008d3f5:0x3ffca880 0x4009276d:0x3ffca8a0 0x40081f6e:0x3ffca920 0x400df7a3:0x3ffca970 0x400d8955:0x3ffca990 0x400d871f:0x3ffca9b0 0x400d88ed:0x3ffca9d0 0x400d3016:0x3ffcaa00 0x400d3b51:0x3ffcb000 0x400d3dc6:0x3ffcb100 0x400dae0e:0x3ffcb180

Is there any way to use it with partition configuration?