Question

I wrote a driver on linux, now i want to port it to freeRTOS, here i am getting trouble. such as file handling API like fseek, opendir, readdir, fopen, fwrite, ftell how to find alternate in freeRTOS.

Était-ce utile?

La solution

Take a look at this: FreeRTOS+IO.

But as you are referring to opendir(), readdir, etc, i suppose you need a File System library, and if it's the case, this is an excellent one : FatFs.

Should not be difficult to make FatFs work with FreeRTOS+IO.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top