OVMS3-idf/components/app_update
Mahavir Jain b3aff63db4 app_update: fix intermittent failure with firmware updates
Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.

Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.

In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.

Fixes https://github.com/espressif/esp-idf/issues/2451
2018-10-18 04:38:31 +00:00
..
include Merge branch 'master' into feature/cmake 2018-08-16 17:14:17 +10:00
test app_update: Change NUM_PIN_APP_TEST for unit test 2018-08-24 16:52:27 +08:00
CMakeLists.txt cmake: make main a component again 2018-09-11 09:44:12 +08:00
component.mk remove executable permission from source files 2018-05-29 20:07:45 +08:00
dump_otadata.py make dump_otadata: Displays app ota_seq and crc on console 2018-08-22 16:51:36 +08:00
esp_ota_ops.c app_update: fix intermittent failure with firmware updates 2018-10-18 04:38:31 +00:00
gen_empty_partition.py app_update: Make gen_empty_partition.py Python 2 & 3 compatible 2018-09-24 12:16:16 +02:00
Makefile.projbuild Use check_python_dependencies everywhere as order-only-prerequisite 2018-09-03 11:42:10 +02:00
project_include.cmake cmake app_update: Add "flash blank otadata" functionality to cmake 2018-08-31 12:30:14 +08:00