esp-idf/components/esp32/include
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
..
esp32 esp32: use new CPU frequency setting API 2018-08-21 13:02:46 +08:00
hwcrypto nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
rom uart: fix uart_tx_wait_idle to wait for fifo empty 2018-10-15 20:08:16 +08:00
xtensa xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile 2018-07-02 11:31:19 +08:00
esp_assert.h component/esp32 : do more fix of dualcore bug 2017-05-12 15:41:51 +08:00
esp_attr.h app_update: fix intermittent failure with firmware updates 2018-10-18 04:38:31 +00:00
esp_brownout.h brownout detector: enable by default 2017-07-10 17:25:55 +08:00
esp_cache_err_int.h add detection of invalid cache access 2017-04-13 15:27:38 +08:00
esp_clk.h esp_clk.h: add esp_clk_xtal_freq 2018-08-21 13:02:03 +08:00
esp_coexist.h component/esp32 : clear some minor thingsw about PM and coexistence 2018-04-03 20:13:49 +08:00
esp_core_dump.h esp32: Adds documentation and comments to core dump feature files 2017-01-11 20:51:28 +03:00
esp_crosscore_int.h crosscore_int: add support for FREQ_SWITCH event 2017-10-18 12:31:38 +08:00
esp_dbg_stubs.h esp32: Adds GCOV debug stubs support 2018-05-18 16:16:03 +03:00
esp_deep_sleep.h esp32: Deactivate wakeup trigger after first wakeup 2018-03-20 12:23:32 +05:00
esp_deepsleep.h sleep: add light sleep, factor out APIs common for deep/light sleep 2017-09-01 10:36:14 +08:00
esp_dport_access.h dport: Bigfix dport_read code move to IRAM 2018-05-21 22:00:51 +05:00
esp_err.h esp32: Add macro to check a condition without abort 2018-10-09 08:57:23 +02:00
esp_event_loop.h Event handling refactoring 2016-09-26 01:17:32 +08:00
esp_event.h add event SYSTEM_EVENT_AP_STAIPASSIGNED 2018-05-19 13:14:12 +08:00
esp_flash_data_types.h nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
esp_freertos_hooks.h New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +08:00
esp_gdbstub.h gdbstub: Mark the panic handler entry as noreturn 2017-07-11 10:18:08 +08:00
esp_himem.h Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
esp_int_wdt.h Dump the frame of the other core when interrupt watchdog happens 2018-01-18 23:10:29 +00:00
esp_interface.h ethernet: add first version of ethernet driver 2016-12-01 19:17:48 +08:00
esp_intr_alloc.h driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores 2018-09-26 10:31:09 +08:00
esp_intr.h add RMT driver and example 2016-11-22 00:57:19 +08:00
esp_ipc.h docs/ipc documentation 2017-11-24 15:31:28 +08:00
esp_mesh_internal.h mesh: bugfix 2018-09-23 21:11:02 +08:00
esp_mesh.h mesh: bugfix 2018-09-23 21:11:02 +08:00
esp_now.h Make error codes globally unique 2018-03-27 08:12:54 +02:00
esp_panic.h soc/rtc_wdt: Add API functions for rtc_wdt 2018-08-14 17:48:02 +05:00
esp_phy_init.h esp32: fix coex bug 2018-06-29 16:28:11 +08:00
esp_pm.h pm: initial version of power management APIs 2017-10-18 14:19:16 +08:00
esp_sleep.h Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master' 2018-09-07 10:33:33 +08:00
esp_smartconfig.h smartconfig_ack.c : Fixed the declaration of remote_ip in sc_ack_send_task() 2018-07-03 16:28:24 +05:30
esp_spiram.h bugfix(psram): fix psram driver 2018-10-08 19:55:13 +08:00
esp_ssc.h Initial public version 2016-08-17 23:08:22 +08:00
esp_system.h esp32: Add esp_fill_random() function 2018-09-03 04:39:45 +00:00
esp_task_wdt.h New Task Watchdog API (Revert of Revert) 2017-11-02 16:47:51 +08:00
esp_task.h esp32/lwip: adjust task stack size according 'nano' print 2017-11-09 10:09:42 +08:00
esp_timer.h esp_timer: add a function to get next alarm time 2018-04-26 14:39:54 +08:00
esp_types.h remove executable permission from source files 2018-05-29 20:07:45 +08:00
esp_wifi_crypto_types.h gcc8_newlib3: Compilation warnings and errors not specific to newlib v3 2018-07-09 13:22:24 +03:00
esp_wifi_internal.h esp32: fix WiFi timer inaccurate bug 2018-10-17 09:47:25 +08:00
esp_wifi_os_adapter.h Add OS adapter to WiFi driver 2018-05-26 17:22:23 +08:00
esp_wifi_types.h esp32: update API to set CSI channel filter and HT_LTF data generating 2018-09-07 11:05:59 +08:00
esp_wifi.h mesh: bugfix 2018-09-23 21:11:02 +08:00
esp_wpa2.h wpa_supplicant:move part of codes to IDF 2018-05-09 10:44:35 +08:00
esp_wps.h wifi: add set factory information feature by customer in wps 2018-05-17 16:45:53 +08:00