mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
b3d77e3ea5
OTA update used to fail if `firmware_size == partition_size`, because the code was trying to erase one additional sector beyond the space reserved for the firmware partition. This commit fixes the problem and OTA update can work if the firmware size exactly matches the allocated partition size. Closes https://github.com/espressif/esp-idf/pull/12460 |
||
---|---|---|
.. | ||
include | ||
test_apps | ||
.build-test-rules.yml | ||
CMakeLists.txt | ||
esp_ota_app_desc.c | ||
esp_ota_ops.c | ||
otatool.py |