2024-09-10 14:44:47 +08:00
|
|
|
choice ESPTOOLPY_FLASHFREQ
|
|
|
|
|
prompt "Flash SPI speed"
|
|
|
|
|
default ESPTOOLPY_FLASHFREQ_40M if ESP32P4_REV_MIN_0
|
|
|
|
|
default ESPTOOLPY_FLASHFREQ_80M
|
2024-11-19 11:32:59 +08:00
|
|
|
config ESPTOOLPY_FLASHFREQ_120M
|
|
|
|
|
bool "120 MHz"
|
|
|
|
|
depends on IDF_EXPERIMENTAL_FEATURES
|
|
|
|
|
depends on !ESP32P4_REV_MIN_0
|
2024-09-10 14:44:47 +08:00
|
|
|
config ESPTOOLPY_FLASHFREQ_80M
|
|
|
|
|
bool "80 MHz"
|
|
|
|
|
depends on !ESP32P4_REV_MIN_0
|
|
|
|
|
config ESPTOOLPY_FLASHFREQ_40M
|
|
|
|
|
bool "40 MHz"
|
|
|
|
|
config ESPTOOLPY_FLASHFREQ_20M
|
|
|
|
|
bool "20 MHz"
|
|
|
|
|
endchoice
|
2025-01-20 14:55:01 +08:00
|
|
|
|
|
|
|
|
config ESPTOOLPY_FLASHFREQ_VAL
|
|
|
|
|
int
|
|
|
|
|
default 20 if ESPTOOLPY_FLASHFREQ_20M
|
|
|
|
|
default 40 if ESPTOOLPY_FLASHFREQ_40M
|
|
|
|
|
default 80 if ESPTOOLPY_FLASHFREQ_80M
|
|
|
|
|
default 120 if ESPTOOLPY_FLASHFREQ_120M
|