Creating a Disk
All the FreeRTOS+FAT demo projects
create at least one disk,
but the demo projects that create a RAM disk are of most interest as they
also demonstrate how to
a disk, format
a partition, mount
the formatted partition, and
add the mounted partition
to the FreeRTOS+FAT virtual file system.
FreeRTOS+TCP and FreeRTOS+FAT Examples
A good example is found in the demo application that uses the FreeRTOS Windows port, as that calls the RAM disk media driver’s FF_RAMDiskInit() function and performs all the above actions.