[ ]
Real time embedded FreeRTOS mailing list 
Homepage FreeRTOS Labs FreeRTOS+TCP FreeRTOS+FAT FreeRTOS+POSIX Contact / Enquiries


FreeRTOS+FAT is still in the lab
FreeRTOS+FAT is already in use in commercial products and we encourage you to try it yourself. Be aware however that FreeRTOS+FAT was acquired by Real Time Engineers Ltd., and is still being documented and updated to ensure it meets our strict quality standards. Please use the forum for support, or contact us directly if you have a specific business interest.

FF_FS_Add()

[FreeRTOS+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+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+FAT virtual file system then 1 is returned, otherwise 0 is returned.




[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ FreeRTOS Labs Sitemap ]    [ Main FreeRTOS Sitemap ]    [ ]




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