Hello,
I'm developping an Application for my Carrera. Therfore I added a Filesystem from SD-Card to my System.
Because I'm devolpping with CubeMX I use FatFs in Version 0.11b, modified from ST. Because im Using this, I wanted to use
GFILE_NEED_USERFS
After I compiled and tested the source code, I found the Problem GFILE_NEED_USERFS is not supported from the UGFX Source Code like provided in the API description (https://wiki.ugfx.io/index.php/USERFS)
So I modified my Source code with the following lines:
#if GFILE_NEED_USERFS
extern const GFILEVMT FsUSERVMT;
#endif
/**
* The order of the file-systems below determines the order
* that they are searched to find a file.
*/
static const GFILEVMT const * FsArray[] = {
#if GFILE_NEED_ROMFS
&FsROMVMT,
#endif
#if GFILE_NEED_NATIVEFS
&FsNativeVMT,
#endif
#if GFILE_NEED_FATFS
&FsFatFSVMT,
#endif
#if GFILE_NEED_RAMFS
&FsRAMVMT,
#endif
#if GFILE_NEED_USERFS
&FsUSERVMT
#endif
};