OVMS3-idf/components/spi_flash/test
Michael (XIAO Xufeng) 2b7681ec4f esp_flash: fix set qe bit and write command issues
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.

The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.

This commit:

1. Cancel the dummy phase

2. Set and clear the QE bit according to chip settings, allowing tests
   for QE bits. However for some chips (Winbond for example), it's not
   forced to clear the QE bit if not able to.

3. Also refactor to allow chip_generic and other chips to share the same
   code to read and write qe bit; let common command and read command share
   configure_host_io_mode.

4. Rename read mode to io mode since maybe we will write data with quad
   mode one day.
2019-11-21 12:26:14 +08:00
..
CMakeLists.txt flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16 2019-10-19 15:00:00 +08:00
component.mk flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16 2019-10-19 15:00:00 +08:00
test_cache_disabled.c spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00
test_esp_flash.c esp_flash: fix set qe bit and write command issues 2019-11-21 12:26:14 +08:00
test_flash_encryption.c esp_flash: add support for encrypted read and write 2019-09-16 17:10:08 +08:00
test_large_flash_writes.c spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00
test_mmap.c spi_flash: fix mmap unit tests for flash encryption 2019-09-10 17:20:19 +02: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: support for partitions in external flash 2019-07-02 10:26:06 +02:00
test_partitions.c spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00
test_read_write.c flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16 2019-10-19 15:00:00 +08:00
test_spi_flash.c spi_flash: support working on differnt buses and frequency 2019-06-18 06:32:52 +00:00