esp-idf/components
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
..
2020-06-23 08:20:16 +00:00
2021-01-12 14:05:08 +08:00
2020-12-30 12:37:44 +08:00
2021-01-12 14:05:08 +08:00
2021-01-11 11:34:37 +08:00
2021-01-12 14:05:08 +08:00
2021-01-11 11:34:37 +08:00
2021-01-11 11:34:37 +08:00
2021-01-10 16:16:28 +08:00
2021-01-11 11:34:37 +08:00
2020-09-02 16:38:37 +08:00
2021-01-12 14:05:08 +08:00
2021-01-12 14:05:08 +08:00
2020-12-29 10:56:13 +08:00
2021-01-06 17:21:53 +05:30
2021-01-12 14:05:08 +08:00
2021-01-12 14:05:08 +08:00
2020-12-25 15:46:36 +08:00
2021-01-10 16:16:28 +08:00
2021-01-11 11:34:37 +08:00
2021-01-12 14:05:08 +08:00