esp-idf/components/app_update/include
kohait00 b3d77e3ea5 fix(app_update): avoid erasing an extra sector than the actual required size
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
2023-12-07 10:08:08 +00:00
..
esp_ota_ops.h fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-07 10:08:08 +00:00