git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15233 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-12-10 15:27:48 +00:00
parent f07afd688d
commit 10189b4178
3 changed files with 12 additions and 2 deletions

View File

@ -465,7 +465,7 @@ bool chCacheReadObject(objects_cache_t *ocp,
* @param[in] ocp pointer to the @p objects_cache_t structure * @param[in] ocp pointer to the @p objects_cache_t structure
* @param[in] objp pointer to the @p oc_object_t structure * @param[in] objp pointer to the @p oc_object_t structure
* @param[in] async requests an asynchronous operation if supported, the * @param[in] async requests an asynchronous operation if supported, the
* function is then responsible for releasing the * called function is then responsible for releasing the
* object * object
* @return The operation status. In case of asynchronous * @return The operation status. In case of asynchronous
* operation @p false is always returned. * operation @p false is always returned.

View File

@ -103,7 +103,15 @@
#include "drvfatfs.h" #include "drvfatfs.h"
#endif #endif
/* Application code is suppored to export this symbol, it is expected to /* TODO temporary */
#define DRV_CFG_SFS_DIR_NODES_NUM 1
#define DRV_CFG_SFS_FILE_NODES_NUM 1
#define VFS_CFG_ENABLE_DRV_SFS FALSE
#if VFS_CFG_ENABLE_DRV_SFS == TRUE
#include "drvsfs.h"
#endif
/* Application code is supposed to export this symbol, it is expected to
exists.*/ exists.*/
extern vfs_driver_c *vfs_root; extern vfs_driver_c *vfs_root;

View File

@ -2,12 +2,14 @@
VFSSRC := $(CHIBIOS)/os/vfs/src/vfsparser.c \ VFSSRC := $(CHIBIOS)/os/vfs/src/vfsparser.c \
$(CHIBIOS)/os/vfs/src/vfsbuffers.c \ $(CHIBIOS)/os/vfs/src/vfsbuffers.c \
$(CHIBIOS)/os/vfs/src/vfs.c \ $(CHIBIOS)/os/vfs/src/vfs.c \
$(CHIBIOS)/os/vfs/drivers/sfs/drvsfs.c \
$(CHIBIOS)/os/vfs/drivers/fatfs/drvfatfs.c \ $(CHIBIOS)/os/vfs/drivers/fatfs/drvfatfs.c \
$(CHIBIOS)/os/vfs/drivers/overlay/drvoverlay.c \ $(CHIBIOS)/os/vfs/drivers/overlay/drvoverlay.c \
$(CHIBIOS)/os/vfs/drivers/streams/drvstreams.c $(CHIBIOS)/os/vfs/drivers/streams/drvstreams.c
# Required include directories # Required include directories
VFSINC := $(CHIBIOS)/os/vfs/include \ VFSINC := $(CHIBIOS)/os/vfs/include \
$(CHIBIOS)/os/vfs/drivers/sfs \
$(CHIBIOS)/os/vfs/drivers/fatfs \ $(CHIBIOS)/os/vfs/drivers/fatfs \
$(CHIBIOS)/os/vfs/drivers/overlay \ $(CHIBIOS)/os/vfs/drivers/overlay \
$(CHIBIOS)/os/vfs/drivers/streams $(CHIBIOS)/os/vfs/drivers/streams