spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM

This commit is contained in:
jiangguangming
2021-03-11 19:39:27 +08:00
parent 9a2d251912
commit a643ea9432
4 changed files with 22 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ static const spi_flash_host_driver_t esp_flash_gpspi_host = {
.configure_host_io_mode = spi_flash_hal_gpspi_configure_host_io_mode,
.poll_cmd_done = spi_flash_hal_gpspi_poll_cmd_done,
.flush_cache = NULL,
.check_suspend = NULL,
.resume = spi_flash_hal_resume,
.suspend = spi_flash_hal_suspend,
};