Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
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.

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.