esptool_py: Add esptool_py as a dependency for any component that uses it

Many components uses esptool_py_flash_target function, they all should
explicitly requier the esptool_py component.

Related to https://github.com/espressif/esp-idf/issues/6670
This commit is contained in:
Angus Gratton
2021-03-08 19:46:37 +11:00
parent 3942b61a1e
commit 9c03f04769
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ idf_component_register(SRCS "esp_spiffs.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "." "spiffs/src"
REQUIRES spi_flash
PRIV_REQUIRES bootloader_support)
PRIV_REQUIRES bootloader_support esptool_py)
set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)