Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
FreeRTOS website now available in Simplified Chinese
New FreeRTOS Long Term Support version now available.
FreeRTOS Extended Maintenance Program (EMP) registration now open.
FreeRTOS-Plus-TCP v3.0.0 released:
Featured FreeRTOS IoT Integrations:

FF_FS_Add()

[FreeRTOS-Plus-FAT Native API Reference]

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

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

Parameters:

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.

Returns:

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



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