esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips

Most ESP32 devices will also work at 80MHz, but third party boards/modules
may not have been tested at this speed so the default is kept at 40MHz for safety.
This commit is contained in:
Angus Gratton 2020-05-14 14:44:17 +10:00 committed by bot
parent e497bf37c4
commit 5bd75b134d

View File

@ -83,7 +83,8 @@ menu "Serial flasher config"
choice ESPTOOLPY_FLASHFREQ
prompt "Flash SPI speed"
default ESPTOOLPY_FLASHFREQ_40M
default ESPTOOLPY_FLASHFREQ_40M if IDF_TARGET_ESP32
default ESPTOOLPY_FLASHFREQ_80M
help
The SPI flash frequency to be used.