esp-idf/components/app_update
Itay Perl 563bc5d19d 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-01-14 17:10:49 +08:00
..
include app_update: Add definition for esp_ota_abort 2020-12-03 14:49:52 +05:30
test bootloader: create public bootloader_flash.h header 2020-09-19 10:52:02 +08:00
CMakeLists.txt Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
component.mk Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
esp_app_desc.c app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256 2021-01-14 17:10:49 +08:00
esp_ota_ops.c global: fix sign-compare warnings 2021-01-12 14:05:08 +08:00
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 tools: Redirect some warnings to stderr 2020-12-15 12:41:20 +07:00