diff --git a/components/fatfs/CMakeLists.txt b/components/fatfs/CMakeLists.txt index 08aa762be2..80e92ca4cf 100644 --- a/components/fatfs/CMakeLists.txt +++ b/components/fatfs/CMakeLists.txt @@ -11,5 +11,5 @@ set(srcs "diskio/diskio.c" idf_component_register(SRCS ${srcs} INCLUDE_DIRS diskio vfs src - REQUIRES wear_levelling sdmmc + REQUIRES wear_levelling sdmmc vfs ) diff --git a/components/spiffs/CMakeLists.txt b/components/spiffs/CMakeLists.txt index 5954094c43..cdae744847 100644 --- a/components/spiffs/CMakeLists.txt +++ b/components/spiffs/CMakeLists.txt @@ -8,7 +8,7 @@ idf_component_register(SRCS "esp_spiffs.c" INCLUDE_DIRS "include" PRIV_INCLUDE_DIRS "." "spiffs/src" REQUIRES spi_flash - PRIV_REQUIRES bootloader_support esptool_py) + PRIV_REQUIRES bootloader_support esptool_py vfs) if(CMAKE_C_COMPILER_ID MATCHES "GNU") set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)