mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
||||
CONFIG_XTAL_FREQ_AUTO=y
|
||||
CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||
|
||||
CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partition_table_esp32_flash.csv"
|
||||
CONFIG_PARTITION_TABLE_FILENAME="partition_table_esp32_flash.csv"
|
||||
|
@ -101,7 +101,8 @@ menu "SPI Flash driver"
|
||||
config SPI_FLASH_SHARE_SPI1_BUS
|
||||
bool "Support other devices attached to SPI1 bus"
|
||||
default n
|
||||
depends on !IDF_TARGET_ESP32S2
|
||||
depends on IDF_TARGET_ESP32
|
||||
select SPI_MASTER_ISR_IN_IRAM
|
||||
help
|
||||
Each SPI bus needs a lock for arbitration among devices. This allows multiple
|
||||
devices on a same bus, but may reduce the speed of esp_flash driver access to the
|
||||
|
Reference in New Issue
Block a user