Jump to content

Recommended Posts

Posted

Hello,

I'd like to ask how to use images with a custom file system. I'm using Keil's middleware component, but getting an error when no file system is selected with the GFILE_NEED_xxxFS defines (FsArray[] empty initializer). There's no specific definition for USERFS, so I don't really know how to use it.

Posted

Hi,

The USERFS allows you to implement your own filesystem handlers. That is only used when none of the already existing file systems can be used.
When enabling USERFS you have to provide your own implementation of the GFILEVMT somewhere in your application/project code. You can have a look at the GFILEVMT documentation/declaration and the existing file system implementations to learn how to do that. Additionally, there has been a thread on this forum already where somebody dropped some code on how they are doing it - that might help too.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...