Compile files into RAM file system (FileX) for webserver
I have started with the Nx_WebServer demo application which requires the web content files to be loaded onto the SD card ahead of time. I am adapting the project to use a RAM file system instead of the SD card file system. However, I am struggling to find a simple way to create a byte array of the file system (at compile time) to place into the RAM linker section.
Does anyone know of a utility to compile all of the web content files into a binary image of the complete file system so that it can be placed into the RAM region and used with the fx_media_open() function of FileX? ARM/Keil has the file converter utility FCARM that creates a byte array and image file structure from a directory of files, but not a file allocation table (the ARM Network Middleware that uses this image structure is closed source).
I could create a new RAM file system at initialization and loop through the file structure array created by FCARM to add each file to the file system, but I would think there would be a utility out there that creates a binary.
