forked from espressif/esp-idf
fix(flash): mutex between flash rom impl and flash opi
This commit is contained in:
@ -11,12 +11,12 @@ menu "Serial flasher config"
|
||||
like compressed downloads and more. Usually you should not need to disable that feature
|
||||
|
||||
config ESPTOOLPY_OCT_FLASH
|
||||
depends on IDF_TARGET_ESP32S3
|
||||
depends on SOC_SPI_MEM_SUPPORT_FLASH_OPI_MODE
|
||||
bool "Enable Octal Flash"
|
||||
default n
|
||||
|
||||
config ESPTOOLPY_FLASH_MODE_AUTO_DETECT
|
||||
depends on IDF_TARGET_ESP32S3
|
||||
depends on SOC_SPI_MEM_SUPPORT_FLASH_OPI_MODE
|
||||
bool "Choose flash mode automatically (please read help)"
|
||||
default y
|
||||
help
|
||||
|
@ -240,7 +240,8 @@ menu "SPI Flash driver"
|
||||
|
||||
config SPI_FLASH_ROM_IMPL
|
||||
bool "Use esp_flash implementation in ROM"
|
||||
depends on ESP_ROM_HAS_SPI_FLASH
|
||||
depends on ESP_ROM_HAS_SPI_FLASH && !ESPTOOLPY_OCT_FLASH
|
||||
# ROM never supports octal flash before. Future if ROM supports it we can use a ESP_ROM_x macro
|
||||
default n
|
||||
help
|
||||
Enable this flag to use new SPI flash driver functions from ROM instead of ESP-IDF.
|
||||
|
Reference in New Issue
Block a user