From 5ebbefafc71b27a3ab416a0e97d5274506ed7957 Mon Sep 17 00:00:00 2001 From: xiaqilin Date: Thu, 4 Aug 2022 15:09:17 +0800 Subject: [PATCH] esp32h2: disable no_stub option It helps to enable erase flash feature for esp32h2beta2 --- Kconfig | 1 - components/esptool_py/Kconfig.projbuild | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index 9af7435ba15..312ea591d0e 100644 --- a/Kconfig +++ b/Kconfig @@ -82,7 +82,6 @@ mainmenu "Espressif IoT Development Framework Configuration" config IDF_TARGET_ESP32H2_BETA_VERSION_2 bool prompt "ESP32-H2 beta2" - select ESPTOOLPY_NO_STUB # TODO: IDF-4288 endchoice config IDF_TARGET_ESP32C2 diff --git a/components/esptool_py/Kconfig.projbuild b/components/esptool_py/Kconfig.projbuild index 7f3ed18166f..8178b0d8099 100644 --- a/components/esptool_py/Kconfig.projbuild +++ b/components/esptool_py/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "Serial flasher config" config ESPTOOLPY_NO_STUB bool "Disable download stub" - default "y" if IDF_TARGET_ESP32H2 && IDF_ENV_FPGA # TODO: IDF-4288 + default "y" if IDF_ENV_FPGA default "n" help