PMSIS BSP
|
File-system configuration structure. More...
Data Fields | |
pi_fs_type_e | type |
struct pi_device * | flash |
char * | partition_name |
bool | auto_format |
pi_fs_api_t * | api |
This structure is used to pass the desired file-system configuration to the runtime when mounting the file-system.
pi_fs_api_t* pi_fs_conf::api |
Pointer to specific FS methods. Reserved for
internal runtime usage.
bool pi_fs_conf::auto_format |
Defined the behavior of the mount operation in case the file system could not be found in the partition.
if auto_format is set to false, An error is returned . In the opposite case, if auto_format is set to true, the partition will be formated and ready to use. Not available in ReadFS.
struct pi_device* pi_fs_conf::flash |
Flash device. The flash device must be first
opened and its device structure passed here.
char* pi_fs_conf::partition_name |
useful if there are several partitions of this FS type.
By default this field is set to null, which allows to find the first partition compatible with this type of FS.
pi_fs_type_e pi_fs_conf::type |
File-system type.