From 2e2c5d1bf234fea8b8760d7b3f590d58709342c5 Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Mon, 25 May 2026 12:05:42 +0200 Subject: [PATCH] change(esptool_py): hide serial flasher menu on linux target The linux host_test target has no real flash, so the "Serial flasher config" menu's options are meaningless there. Gate the menu on !IDF_TARGET_LINUX so its symbols stay undefined on linux. --- components/esptool_py/Kconfig.projbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esptool_py/Kconfig.projbuild b/components/esptool_py/Kconfig.projbuild index 2df271b95f0..5d763177743 100644 --- a/components/esptool_py/Kconfig.projbuild +++ b/components/esptool_py/Kconfig.projbuild @@ -1,5 +1,5 @@ menu "Serial flasher config" - depends on !APP_BUILD_TYPE_PURE_RAM_APP + depends on !APP_BUILD_TYPE_PURE_RAM_APP && !IDF_TARGET_LINUX config ESPTOOLPY_NO_STUB bool "Disable download stub"