Michael (XIAO Xufeng) 9249f05fc9 spi_flash: reverted unwilling cs_setup argument
Partially reverted 08f1bbe0c75382f1702e40c941e93314285105d4.

The host should have this flexibility, which is consistent to the cs_hold argument.

However, the user should know as less as possible about the host.
So the wrapper layer (esp_flash_spi_init.c) should cover this, helping to set cs_setup to 1, to meet the common requirements.
2021-06-17 12:26:11 +08:00
..
2021-03-05 18:39:32 +08:00
2021-04-27 14:40:52 +08:00
2021-03-05 18:39:32 +08:00

See the spi_flash.rst in the programming guide folder for more details.

The docs above is for the new SPI Flash API above 4.0, for legacy implementation (CONFIG_SPI_FLASH_USE_LEGACY_IMPL enabled), read README_legayc.rst in the same folder with this readme.