OVMS3-idf/components/soc/esp32
Michael (XIAO Xufeng) 571864e8ae 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-10-14 17:25:58 +08:00
..
include esp_flash: fix set qe bit and write command issues 2019-10-14 17:25:58 +08:00
test tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
component.mk ethernet: can build without enable esp32 emac 2019-07-22 21:07:02 +08:00
cpu_util.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
emac_hal.c Ethernet: optimize and bugfix 2019-10-11 12:15:17 +08:00
gpio_periph.c soc: Fix check_long_hold_gpio and move def to soc 2018-06-22 09:20:27 +05:00
i2c_apll.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
i2c_bbpll.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
i2c_rtc_clk.h soc: add source code of rtc_clk, rtc_pm 2017-04-11 15:45:54 +08:00
rtc_clk.c soc/pm: Remove deprecated use of rtc_cpu_freq_t enum 2019-09-13 09:44:07 +10:00
rtc_clk_common.h soc/rtc_clk: split rtc_clk_init into separate object file 2018-08-21 13:02:46 +08:00
rtc_clk_init.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
rtc_init.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
rtc_periph.c Fix errors in rtc_gpio_desc values 2018-07-12 23:16:15 -07:00
rtc_pm.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
rtc_sleep.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
rtc_time.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
rtc_wdt.c tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
sdio_slave_periph.c all: Using xxx_periph.h 2019-06-03 14:15:08 +08:00
sdmmc_periph.c Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00
soc_log.h separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
soc_memory_layout.c Rename Kconfig options (components/esp32) 2019-05-21 09:09:01 +02:00
sources.cmake ethernet: can build without enable esp32 emac 2019-07-22 21:07:02 +08:00
spi_periph.c spi: multichip support 2019-06-20 10:38:52 +08:00