FF_Error_t FF_Mount( FF_Disk_t *pxDisk, BaseType_t xPartitionNumber );
The media is the physical device on which files are stored. Examples of
media suitable for use in an embedded file system include SD cards,
solid state disks, NOR flash memory chips, NAND flash chips, and RAM
Partitioning divides the media into multiple units, each of which is
called a partition. A partition cannot be used to hold a FreeRTOS+FAT
file system until it has been formatted.
Formatted partitions must be
mounted before they can be used with the
FreeRTOS+Fat standard API.
The FF_Disk_t structure that holds the formatted partition
to be mounted.
The number of the partition on the media to mount.
Partition numbers start from 0.
If the partition was successfully mounted then FF_ERR_NONE is returned.
If the partition could not be mounted then an error code is returned.
FF_GetErrMessage() converts error codes into error descriptions.
page that documents how to create a FreeRTOS+FAT media driver also
demonstrates how to use the FF_Mount() function.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.