Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top