OVMS3-idf/components/spi_flash/test
Michael (XIAO Xufeng) dc26065a72 esp_flash: fix the regression of non-quad mode by default chip driver
The issue is introduced in 571864e8ae. The
esp_flash API tries to clear the QE bit when the flash is not working in
quad modes.

However this introduces a regression, compared to earlier versions and
the legacy API. When the chip is not detected, the generic chip driver
is used, which cannot 100% handle the QE bit properly for all flash
vendors. There may be some flash chips (e.g. MXIC) that can be used in
dual modes by legacy API, but output wrong data when the esp_flash API
clears the QE bit in a wrong way.

This commit reverts the QE force clearing behavior, so that it's safer
for the generic chip driver to work under dual modes.
2020-04-17 18:15:31 +08:00
..
CMakeLists.txt test: declare requirements and include dirs private 2020-03-23 10:58:50 +08:00
component.mk ut: Move tests back from "esp32" subfolder 2020-01-06 17:13:53 +08:00
test_cache_disabled.c util-test: The cache and spi_flash tests passed 2019-09-09 16:59:29 +08:00
test_esp_flash.c esp_flash: fix the regression of non-quad mode by default chip driver 2020-04-17 18:15:31 +08:00
test_flash_encryption.c spi_flash: support to verify written encrypted data 2019-10-30 05:49:50 +00:00
test_large_flash_writes.c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
test_mmap.c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
test_out_of_bounds_write.c spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00
test_partition_ext.c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
test_partitions.c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
test_read_write.c spi_flash: resume unit tests for ESP32-S2 2020-02-26 11:12:08 +08:00
test_spi_flash.c global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00