Merge branch 'fix/spi_flash_speed_on_fpga' into 'master'

fix(flash): fix H21/H4 error on FPGA because of wrong flash speed

See merge request espressif/esp-idf!41166
This commit is contained in:
Gao Xu
2025-08-12 11:22:26 +08:00
2 changed files with 6 additions and 0 deletions
@@ -1,8 +1,11 @@
choice ESPTOOLPY_FLASHFREQ
prompt "Flash SPI speed"
default ESPTOOLPY_FLASHFREQ_32M if IDF_ENV_FPGA
default ESPTOOLPY_FLASHFREQ_48M
config ESPTOOLPY_FLASHFREQ_48M
bool "48 MHz"
config ESPTOOLPY_FLASHFREQ_32M
bool "32 MHz"
config ESPTOOLPY_FLASHFREQ_24M
bool "24 MHz"
endchoice
@@ -1,8 +1,11 @@
choice ESPTOOLPY_FLASHFREQ
prompt "Flash SPI speed"
default ESPTOOLPY_FLASHFREQ_32M if IDF_ENV_FPGA
default ESPTOOLPY_FLASHFREQ_48M
config ESPTOOLPY_FLASHFREQ_48M
bool "48 MHz"
config ESPTOOLPY_FLASHFREQ_32M
bool "32 MHz"
config ESPTOOLPY_FLASHFREQ_24M
bool "24 MHz"
endchoice