esp-idf/components/app_update
Itay Perl 27fe437412 app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
At -O2 optimization level, GCC seems to optimize out the copying of the
first byte of the checksum, assuming it is zero. This "miscompilation"
happens because the esp_app_desc struct is declared const, but then modified
post-compilation. Casting to volatile disables the optimization.

Closes: https://github.com/espressif/esp-idf/pull/6389
2021-06-17 17:32:49 +08:00
..
include tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
test app_update: fix test failure for get_app_elf_sha256 test 2020-04-15 21:09:57 +08:00
CMakeLists.txt app_update: use build system api to get partition_table dir 2019-09-03 19:47:53 +08:00
component.mk app_update: Fix a handling of version as string 2019-01-24 12:13:38 +08:00
esp_app_desc.c app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256 2021-06-17 17:32:49 +08:00
esp_ota_ops.c esp_ota_ops.c: Fix size calculation to erase partition range for OTA image 2020-04-06 13:39:01 +05:30
Kconfig.projbuild app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled 2020-04-15 21:05:58 +08:00
Makefile.projbuild app_update: Remove deprecated "make erase_ota" target 2019-09-13 09:44:07 +10:00
otatool.py otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd 2021-04-27 19:41:17 +08:00