We have a unique situation where we need more than 8 VFS handles.
We can see that we can change the value inside the VFS code inside ESP-IDF, and it works, but is there a way to pass a configuration option, instead of having to fork and make this change in-code?
-Thom
how to increase # of VFS handles?
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: how to increase # of VFS handles?
I don't think the amount of VFS handles itself is bound. Do you mean the max VFS filesystems you can register (#define VFS_MAX_COUNT 8)? There's no easy way to change that indeed. You could copy the vfs component to your own project (components in a project will override components in esp-idf of the same name) as a short term fix, and for the longer term, I think this could be implemented as a Menuconfig option in esp-idf. Can you file an issue for this, or if you're willing, create a patch and a pull request for that? That way we can keep track of it.
Re: how to increase # of VFS handles?
Let me see if I can make a patch, if not, i'll file an issue.
-Thom
-Thom
Who is online
Users browsing this forum: Bing [Bot] and 102 guests