سؤال

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