esp-idf/components/app_update
kohait00 153f4b8f4f
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:48:55 +05:30
..
include fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-04 18:48:55 +05:30
test bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check. 2022-01-25 19:58:29 +08:00
CMakeLists.txt tools: replace _ with - in idf.py 2021-10-13 17:30:38 +08:00
component.mk Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_app_desc.c app_update: update copyright notice 2021-05-10 03:48:25 +02:00
esp_ota_ops.c fix(app_update): avoid erasing an extra sector than the actual required size 2023-12-04 18:48:55 +05:30
Kconfig.projbuild app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled 2020-03-10 20:26:03 +08:00
Makefile.projbuild Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
otatool.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00