feat(vfs): add 'fatfs' host test to include 'vfs' support

This commit is contained in:
sonika.rathi
2025-11-05 09:49:21 +01:00
parent 24e42cc4a6
commit 6216b017f0
13 changed files with 659 additions and 62 deletions
+5 -2
View File
@@ -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"