esp-idf/components/app_update
kohait00 4c1c9373e9
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-04 18:42:44 +05:30
..
include fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-04 18:42:44 +05:30
test_apps fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
CMakeLists.txt refactor(linux): excluded all non-Linux components from build 2023-10-16 17:06:54 +08:00
esp_ota_app_desc.c esp_app_format: IRAM space optimization 2023-05-17 23:40:59 +08:00
esp_ota_ops.c fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-04 18:42:44 +05:30
otatool.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00