diff --git a/components/bootloader_support/CMakeLists.txt b/components/bootloader_support/CMakeLists.txt index bae865dc3b..4e477f6b59 100644 --- a/components/bootloader_support/CMakeLists.txt +++ b/components/bootloader_support/CMakeLists.txt @@ -28,7 +28,7 @@ if(esp_tee_build) idf_component_register(SRCS ${tee_srcs} INCLUDE_DIRS ${tee_inc_dirs} - PRIV_REQUIRES efuse esp_app_format) + PRIV_REQUIRES efuse esp_app_format esptool_py) return() endif() @@ -72,7 +72,7 @@ endif() if(BOOTLOADER_BUILD OR CONFIG_APP_BUILD_TYPE_RAM) set(include_dirs "include" "bootloader_flash/include" "private_include") - set(priv_requires micro-ecc spi_flash efuse esp_bootloader_format esp_app_format) + set(priv_requires micro-ecc spi_flash efuse esp_bootloader_format esp_app_format esptool_py) list(APPEND srcs "src/bootloader_init.c" "src/bootloader_clock_loader.c" @@ -89,7 +89,7 @@ else() set(include_dirs "include" "bootloader_flash/include") set(priv_include_dirs "private_include") # heap is required for `heap_memory_layout.h` header - set(priv_requires spi_flash mbedtls efuse heap esp_bootloader_format esp_app_format) + set(priv_requires spi_flash mbedtls efuse heap esp_bootloader_format esp_app_format esptool_py) endif() if(BOOTLOADER_BUILD) diff --git a/components/esp_phy/CMakeLists.txt b/components/esp_phy/CMakeLists.txt index 24defd87b1..fe5d19423b 100644 --- a/components/esp_phy/CMakeLists.txt +++ b/components/esp_phy/CMakeLists.txt @@ -55,7 +55,7 @@ endif() idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "include" "${idf_target}/include" - PRIV_REQUIRES nvs_flash esp_driver_gpio efuse esp_timer esp_wifi + PRIV_REQUIRES nvs_flash esp_driver_gpio efuse esp_timer esp_wifi esptool_py LDFRAGMENTS "${ldfragments}" EMBED_FILES ${embed_files} ) diff --git a/components/esp_tee/CMakeLists.txt b/components/esp_tee/CMakeLists.txt index 21a70d6b8c..a0c6a6f248 100644 --- a/components/esp_tee/CMakeLists.txt +++ b/components/esp_tee/CMakeLists.txt @@ -73,7 +73,7 @@ else() idf_component_register(INCLUDE_DIRS include SRCS ${srcs} - PRIV_REQUIRES efuse esp_security esp_system spi_flash) + PRIV_REQUIRES efuse esp_security esp_system spi_flash esptool_py) if(CONFIG_SECURE_ENABLE_TEE) set(EXTRA_LINK_FLAGS) diff --git a/components/esp_wifi/CMakeLists.txt b/components/esp_wifi/CMakeLists.txt index 99984c96e2..2683cf9a02 100644 --- a/components/esp_wifi/CMakeLists.txt +++ b/components/esp_wifi/CMakeLists.txt @@ -60,7 +60,7 @@ idf_component_register(SRCS "${srcs}" INCLUDE_DIRS "include" "include/local" "wifi_apps/include" "wifi_apps/nan_app/include" REQUIRES esp_event esp_phy esp_netif - PRIV_REQUIRES esptool_py esp_pm esp_timer nvs_flash + PRIV_REQUIRES esp_pm esp_timer nvs_flash wpa_supplicant hal lwip esp_coex PRIV_INCLUDE_DIRS ../wpa_supplicant/src/ ../wpa_supplicant/esp_supplicant/src/ wifi_apps/roaming_app/include diff --git a/components/fatfs/CMakeLists.txt b/components/fatfs/CMakeLists.txt index f641ca860a..dddcb8905f 100644 --- a/components/fatfs/CMakeLists.txt +++ b/components/fatfs/CMakeLists.txt @@ -24,7 +24,7 @@ else() list(APPEND requires "sdmmc" "esp_driver_sdmmc" "esp_driver_sdspi") - list(APPEND priv_requires "vfs" "esp_driver_gpio") + list(APPEND priv_requires "vfs" "esp_driver_gpio" "esptool_py") endif() idf_component_register(SRCS ${srcs} diff --git a/components/nvs_flash/CMakeLists.txt b/components/nvs_flash/CMakeLists.txt index 693e510de9..8872c5ea19 100644 --- a/components/nvs_flash/CMakeLists.txt +++ b/components/nvs_flash/CMakeLists.txt @@ -63,7 +63,7 @@ else() if(${target} STREQUAL "linux") set(priv_requires spi_flash) else() - set(priv_requires spi_flash newlib) + set(priv_requires spi_flash newlib esptool_py) endif() idf_component_register(SRCS "${srcs}" diff --git a/components/spiffs/CMakeLists.txt b/components/spiffs/CMakeLists.txt index ed85c16ac1..e53ea7166d 100644 --- a/components/spiffs/CMakeLists.txt +++ b/components/spiffs/CMakeLists.txt @@ -9,7 +9,7 @@ set(original_srcs "spiffs/src/spiffs_cache.c" list(APPEND srcs "spiffs_api.c" ${original_srcs}) if(NOT ${target} STREQUAL "linux") - list(APPEND pr bootloader_support esptool_py vfs) + list(APPEND pr bootloader_support vfs esptool_py) list(APPEND srcs "esp_spiffs.c") endif()