spi_flash: enable ESP32C2 SPI_FLASH_ROM_IMPL

pull/8968/head
jiangguangming 2022-01-11 11:17:49 +08:00 zatwierdzone przez wuzhenghui
rodzic 0a5367d29b
commit a9f8b20431
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -53,9 +53,13 @@ menu "SPI Flash driver"
to flash on ESP32-D2WD; (2) main SPI flash is connected to non-default pins; (3) main to flash on ESP32-D2WD; (2) main SPI flash is connected to non-default pins; (3) main
SPI flash chip is manufactured by ISSI. SPI flash chip is manufactured by ISSI.
config SPI_FLASH_HAS_ROM_IMPL
bool
default y if IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2
config SPI_FLASH_ROM_IMPL config SPI_FLASH_ROM_IMPL
bool "Use esp_flash implementation in ROM" bool "Use esp_flash implementation in ROM"
depends on IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32C3 depends on SPI_FLASH_HAS_ROM_IMPL
default n default n
help help
Enable this flag to use new SPI flash driver functions from ROM instead of ESP-IDF. Enable this flag to use new SPI flash driver functions from ROM instead of ESP-IDF.