mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(vfs): add 'fatfs' host test to include 'vfs' support
This commit is contained in:
@@ -10,9 +10,12 @@ set(include_dirs "diskio" "src")
|
||||
|
||||
set(requires "wear_levelling")
|
||||
|
||||
# for linux, we do not have support for vfs and sdmmc, for real targets, add respective sources
|
||||
# for linux, we do not have support for sdmmc, for real targets, add respective sources
|
||||
if(${target} STREQUAL "linux")
|
||||
list(APPEND srcs "port/linux/ffsystem.c")
|
||||
list(APPEND srcs "port/linux/ffsystem.c"
|
||||
"vfs/vfs_fat.c")
|
||||
list(APPEND include_dirs "vfs")
|
||||
list(APPEND priv_requires "vfs" "linux")
|
||||
else()
|
||||
list(APPEND srcs "port/freertos/ffsystem.c"
|
||||
"diskio/diskio_sdmmc.c"
|
||||
|
||||
Reference in New Issue
Block a user