bcsavas Posted July 19, 2017 Report Share Posted July 19, 2017 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. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted July 19, 2017 Report Share Posted July 19, 2017 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now