I wanted to know how to change the default path for the files created using le_fs interfaces.
in fs.c i found the macro
//--------------------------------------------------------------------------------------------------
/**
- Default prefix path for RW if nothing is defined in the config tree
*/
//--------------------------------------------------------------------------------------------------
#define FS_PREFIX_DATA_PATH “/data/le_fs/”
This path is not considered while using le_dir interfaces. I am using a legacy application where we first create the directory structure and then create all the files. When this is ported to legato using le_dir and le_fs interfaces, two difference directory structures are getting created.
Can you let me know how to override the FS_PREFIX_DATA_PATH? We are not using any config tree.
Appreciate any help regarding this.
I am using legato af 17.06.0 on wp8548 and mangOH green board.