From 88d2a221f13c80a266507488f67ed8ddad44b1ce Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 21 Jun 2022 17:12:47 +0200 Subject: [PATCH] fatfs, spiffs: add missing dependency on vfs Since vfs is no longer a common component, the dependency needs to be added explicitly. --- components/fatfs/CMakeLists.txt | 2 +- components/spiffs/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)