esp-idf/components/app_update
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
..
include fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-07 10:08:08 +00:00
test_apps fix(app_update): Reverted: Fix CI test_switch_ota by increasing deepsleep 2023-09-27 12:26:29 +02:00
.build-test-rules.yml esp32h2: add build test 2023-01-17 10:29:04 +08:00
CMakeLists.txt Storage: Partition APIs moved to the new component 'esp_partition' 2022-11-02 21:54:45 +01:00
esp_ota_app_desc.c app_update: Moved app metadata to new component esp_app_format 2022-08-17 10:59:25 +05:30
esp_ota_ops.c fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-07 10:08:08 +00:00
otatool.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00