fatfs, spiffs: add missing dependency on vfs

Since vfs is no longer a common component, the dependency needs to be
added explicitly.
This commit is contained in:
Ivan Grokhotkov 2022-06-21 17:12:47 +02:00
parent ac98d89ced
commit 88d2a221f1
No known key found for this signature in database
GPG Key ID: 1E050E141B280628
2 changed files with 2 additions and 2 deletions

View File

@ -11,5 +11,5 @@ set(srcs "diskio/diskio.c"
idf_component_register(SRCS ${srcs} idf_component_register(SRCS ${srcs}
INCLUDE_DIRS diskio vfs src INCLUDE_DIRS diskio vfs src
REQUIRES wear_levelling sdmmc REQUIRES wear_levelling sdmmc vfs
) )

View File

@ -8,7 +8,7 @@ idf_component_register(SRCS "esp_spiffs.c"
INCLUDE_DIRS "include" INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "." "spiffs/src" PRIV_INCLUDE_DIRS "." "spiffs/src"
REQUIRES spi_flash REQUIRES spi_flash
PRIV_REQUIRES bootloader_support esptool_py) PRIV_REQUIRES bootloader_support esptool_py vfs)
if(CMAKE_C_COMPILER_ID MATCHES "GNU") if(CMAKE_C_COMPILER_ID MATCHES "GNU")
set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation) set_source_files_properties(spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation)