Jump to content

Carsten

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Carsten

  1. 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
    };

     

  2. Hello, 

    First I wont to say it's a great Library and works very well. 

    I'm  using stm32f429 discovery board with its Display (240*320). On the last days Ich did some tests to find out how much RAM is used. The usage is round  about 2MB. 

    I created seven different pages. 

    Is there any possibility to calculate the RAM usage?

    Best regards

    Carsten

×
×
  • Create New...