mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 10:46:02 -04:00
spi_flash: esptool temporarily supports H2 clock configurations
This commit is contained in:
parent
ff84535758
commit
4a7f5f41ea
@ -144,10 +144,14 @@ menu "Serial flasher config"
|
||||
# On some of the ESP chips, max boot frequency would be equal to (or even lower than) 80m.
|
||||
# We currently define this to `80m`.
|
||||
default "80m" if ESPTOOLPY_FLASHFREQ_120M
|
||||
default "80m" if ESPTOOLPY_FLASHFREQ_80M
|
||||
default "40m" if ESPTOOLPY_FLASHFREQ_40M
|
||||
default "26m" if ESPTOOLPY_FLASHFREQ_26M
|
||||
default "20m" if ESPTOOLPY_FLASHFREQ_20M
|
||||
# Temporarily support h2, because not consistent with esptool, will be cleaned up in IDF-4474
|
||||
default "80m" if ESPTOOLPY_FLASHFREQ_80M && !IDF_TARGET_ESP32H2
|
||||
default "40m" if ESPTOOLPY_FLASHFREQ_40M && !IDF_TARGET_ESP32H2
|
||||
default "26m" if ESPTOOLPY_FLASHFREQ_26M && !IDF_TARGET_ESP32H2
|
||||
default "20m" if ESPTOOLPY_FLASHFREQ_20M && !IDF_TARGET_ESP32H2
|
||||
default "48m" if ESPTOOLPY_FLASHFREQ_80M && IDF_TARGET_ESP32H2
|
||||
default "24m" if ESPTOOLPY_FLASHFREQ_40M && IDF_TARGET_ESP32H2
|
||||
default "12m" if ESPTOOLPY_FLASHFREQ_20M && IDF_TARGET_ESP32H2
|
||||
|
||||
|
||||
choice ESPTOOLPY_FLASHSIZE
|
||||
|
Loading…
Reference in New Issue
Block a user