mikalhart / ESP32-OTA-Pull

An ESP32/Arduino library for doing easy "pull"-based OTA ("Over The Air") updates
MIT License
34 stars 11 forks source link

Is there any way to use it with partition configuration? #8

Closed pruge closed 5 months ago

pruge commented 5 months ago

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

[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?