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.
int ff_chdir( const char *pcDirectoryName );
Change the current working directory in the embedded FAT file system.
A pointer to a standard null terminated C string that holds
the name of the directory to make the current working
directory. The string can include a relative path.
If the current working directory was changed successfully then zero is returned.
If the current working directory could not be changed then -1 is returned and the task's
errno may be set to indicate the reason. A task
can obtain its errno value using the ff_errno()
void vExampleFunction( void )
ff_mkdir( "subfolder" );
ff_mkdir( "subfolder/sub1" );
ff_chdir( "subfolder/sub1" );
ff_chdir( "../.." );
Example use of the ff_chdir() API function to open or create a file