Quality RTOS & Embedded Software

Featured FreeRTOS IoT Integrations:
Extended Maintenance Plan (EMP):
Delta Over-the-Air Updates:
December 2021 Releases:
FreeRTOS LTS libraries:


[FreeRTOS+FAT Native API Reference]

BaseType_t FF_FS_Add( const char *pcPath, FF_Disk_t *pxDisk );

Adds a mounted partition to the FreeRTOS+FAT virtual file system, where it will appear as a directory off the file system's root directory.


pcPath   The name used for the partition within the virtual file system. For example, if pcPath is "/SDCard" then the partition will appear as /SDCard in the file system's root directory.

pcPath must be an absolute path that starts with a forward slash (/).

pdDisk   The FF_Disk_t structure used to access and manage the partition being added to the file system.


If the partition was successfully added to the FreeRTOS+FAT virtual file system then 1 is returned, otherwise 0 is returned.

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