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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top