I have been trying to write to flash. I have the following entry in my CMakeLists.txt
Code: Select all
fatfs_create_rawflash_image(storage ../site/dist FLASH_IN_PROJECT)
I use the following code to enumerate through the files.
Code: Select all
DIR *d;
struct dirent *dir;
d = opendir("/store/assets");
if (d)
{
while ((dir = readdir(d)) != NULL)
{
printf("%s\n", dir->d_name);
}
closedir(d);
}
INDEX-~1.CSS
Hence the files are not what I expect them to be.
Any help as to why this is would be greatly appreciated.
Thanks.