Download FreeRTOS

Quality RTOS & Embedded Software

Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.


[FreeRTOS-Plus-FAT Native API Reference]

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 chips.

Partitioning divides the media into multiple units, each of which is called a partition. A partition cannot be used to hold a FreeRTOS-Plus-FAT file system until it has been formatted.

Formatted partitions must be mounted before they can be used with the FreeRTOS-Plus-Fat standard API.


pxDisk   The FF_Disk_t structure that holds the formatted partition to be mounted.

xPartitionNumber   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.

Example usage:

The page that documents how to create a FreeRTOS-Plus-FAT media driver also demonstrates how to use the FF_Mount() function.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.