nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ bm_zms_mount()

int bm_zms_mount ( struct bm_zms_fs * fs,
const struct bm_zms_fs_config * config )

#include <bm_zms.h>

Mount a BM_ZMS file system.

Note
Once the mount operation is completed, a BM_ZMS_EVT_MOUNT event will be propagated to the configured event handler.
Parameters
fsPointer to the file system.
configPointer to the configuration for file system initialization.
Return values
0If the initialization is queued successfully.
-EFAULTif fs or config are NULL.
-ENOMEMif the internal fifo is full.
-EBUSYif an initialization is already executing.
-EINVALif any of the sector layout is invalid.
-EIOif the backend storage initialization failed.