spi_flash: fix cs line setup to make the flash driver more stable

This commit is contained in:
Cao Sen Miao
2021-05-20 20:51:38 +08:00
parent fe94de0310
commit 08f1bbe0c7
19 changed files with 103 additions and 29 deletions

View File

@@ -34,6 +34,7 @@ typedef struct {
* automatically assigned by the SPI bus lock.
*/
int cs_id;
uint32_t cs_setup; ///< (cycles-1) of prepare phase by spi clock
} esp_flash_spi_device_config_t;
/**