feat(mspi): supported flash 120MHz SDR timing tuning on ESP32P4
This commit is contained in:
@@ -36,7 +36,7 @@ menu "Main Flash configuration"
|
||||
choice SPI_FLASH_HPM
|
||||
prompt "High Performance Mode (READ DOCS FIRST, > 80MHz)"
|
||||
# Currently, only esp32s3 allows high performance mode.
|
||||
depends on IDF_TARGET_ESP32S3 && !ESPTOOLPY_OCT_FLASH
|
||||
depends on (IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32P4) && !ESPTOOLPY_OCT_FLASH
|
||||
default SPI_FLASH_HPM_AUTO
|
||||
help
|
||||
Whether the High Performance Mode of Flash is enabled. As an optional feature, user needs to manually
|
||||
@@ -56,7 +56,7 @@ menu "Main Flash configuration"
|
||||
config SPI_FLASH_HPM_ON
|
||||
bool
|
||||
# For ESP32-S3, it's enabled by default. For later chips it should be disabled by default
|
||||
default y if IDF_TARGET_ESP32S3 && ((SPI_FLASH_HPM_ENA || SPI_FLASH_HPM_AUTO)) || \
|
||||
default y if (IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32P4) && ((SPI_FLASH_HPM_ENA || SPI_FLASH_HPM_AUTO)) || \
|
||||
(!IDF_TARGET_ESP32S3 && SPI_FLASH_HPM_ENA)
|
||||
help
|
||||
This option is invisible, and will be selected automatically
|
||||
|
||||
@@ -2,6 +2,10 @@ choice ESPTOOLPY_FLASHFREQ
|
||||
prompt "Flash SPI speed"
|
||||
default ESPTOOLPY_FLASHFREQ_40M if ESP32P4_REV_MIN_0
|
||||
default ESPTOOLPY_FLASHFREQ_80M
|
||||
config ESPTOOLPY_FLASHFREQ_120M
|
||||
bool "120 MHz"
|
||||
depends on IDF_EXPERIMENTAL_FEATURES
|
||||
depends on !ESP32P4_REV_MIN_0
|
||||
config ESPTOOLPY_FLASHFREQ_80M
|
||||
bool "80 MHz"
|
||||
depends on !ESP32P4_REV_MIN_0
|
||||
|
||||
Reference in New Issue
Block a user