hi - I'm a user of Micrium's uC-III and the add on file system (V4) which we purchased some time ago. I'm trying to open a file in one module and then reference the structure that's returned from the fopen call in another module. Normally I would use the typedef name FS_FILE as a global declaration to a pointer ( ie FS_FILE * mypointer). However, the IAR compiler keeps saying FS_FILE is undefined. However, if I do the same action from within a function, FS_FILE * mypointer works (but it of course doesn't do what I want it to.) I see that the heading in fs_type.h refers to it as a forward declaration, which I assume means that the compiler needs more information to use FS_FILE. so, what do I have to do to make this work?
thanks,