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
partition
a disk,
format
a partition,
mount
the formatted partition, and
add the mounted partition
to the FreeRTOS+FAT virtual file system.
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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.