From 5bd75b134d8dcfe03273ee364415cacf58357c44 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 14 May 2020 14:44:17 +1000 Subject: [PATCH] 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. --- components/esptool_py/Kconfig.projbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esptool_py/Kconfig.projbuild b/components/esptool_py/Kconfig.projbuild index e11f9c7d50..a01ea47345 100644 --- a/components/esptool_py/Kconfig.projbuild +++ b/components/esptool_py/Kconfig.projbuild @@ -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.