From 0b79b478118086879a1a7fb2855d894842356a37 Mon Sep 17 00:00:00 2001 From: Lucas Tamborrino Date: Mon, 24 Mar 2025 13:21:03 -0300 Subject: [PATCH] soc: espressif: Filter LP Core from esptool command Filter LP Core from esptool post build commands Signed-off-by: Lucas Tamborrino --- soc/espressif/common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/espressif/common/CMakeLists.txt b/soc/espressif/common/CMakeLists.txt index 42449a942f6..ab9558b9d18 100644 --- a/soc/espressif/common/CMakeLists.txt +++ b/soc/espressif/common/CMakeLists.txt @@ -18,7 +18,7 @@ endif() message("-- Espressif HAL path: ${ESP_IDF_PATH}") -if(CONFIG_ESP_SIMPLE_BOOT OR CONFIG_MCUBOOT) +if((CONFIG_ESP_SIMPLE_BOOT OR CONFIG_MCUBOOT) AND NOT CONFIG_SOC_ESP32C6_LPCORE) if(CONFIG_BUILD_OUTPUT_BIN) set(ESPTOOL_PY ${ESP_IDF_PATH}/tools/esptool_py/esptool.py) message("-- Use the esptool.py: ${ESPTOOL_PY}")