OVMS3-idf/components/esp32
Michael (XIAO Xufeng) 76c1be0d94 spiram: fix the read id failure
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.

Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.

Issue introduced in 3ecbb59c15.
2020-06-30 21:45:31 +08:00
..
include Merge branch 'bugfix/sleep_comments' into 'master' 2020-04-30 13:36:58 +08:00
ld gdb: Modify PC in case of invalid PC 2020-05-08 18:34:52 +05:30
test esp_ipc: Move to new component 2020-05-18 16:51:45 +08:00
cache_err_int.c esp32s2: IRAM/DRAM memory protection 2020-04-21 15:10:58 +02:00
cache_sram_mmu.c Spiram: Add option to reserve MMU banks; add himem API to make use of those banks 2018-10-15 14:32:58 +08:00
clk.c esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration 2020-03-27 04:56:44 +00:00
CMakeLists.txt esp_ipc: Move to new component 2020-05-18 16:51:45 +08:00
component.mk Revert "C++: add provisions for optional RTTI support" 2019-10-31 10:12:16 +07:00
cpu_start.c esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization 2020-06-17 13:40:42 +08:00
crosscore_int.c Add Task Watchdog backtrace printing 2020-04-27 18:11:29 +00:00
dport_access.c freertos: moved all xtensa specific files into a separated folder 2020-01-27 16:05:30 -03:00
esp_clk_internal.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_himem.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
hw_random.c move esp32 chip specific includes to esp32/xxx.h 2019-03-18 17:14:05 +08:00
intr_alloc.c intr_alloc: fix the issue intr_enable/disable cannot be used in ISR in 2019-12-23 10:23:00 +08:00
Kconfig heap: add rtc fast memory region to dynamic pool 2020-05-14 13:12:26 +00:00
linker.lf esp32, esp32s2: move panic handling code to new component 2020-03-10 19:56:24 +08:00
Makefile.projbuild Add fixes for gcc8 psram fix improvement 2020-03-27 20:04:47 +07:00
pm_esp32.c esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
pm_trace.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
project_include.cmake Add fixes for gcc8 psram fix improvement 2020-03-27 20:04:47 +07:00
sdkconfig.rename feat(psram): config SPI psram pins based on efuse value 2019-05-28 21:25:16 +08:00
sleep_modes.c WDT: Add LL and HAL for watchdog timers 2020-03-26 02:14:02 +08:00
spiram.c Merge branch 'master' into feature/esp32s2beta_update 2019-08-08 15:26:58 +10:00
spiram_psram.c spiram: fix the read id failure 2020-06-30 21:45:31 +08:00
spiram_psram.h tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
system_api_esp32.c WDT: Add LL and HAL for watchdog timers 2020-03-26 02:14:02 +08:00