Jump to content

Hilco

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, We have hardware with an STM32F070RBT6 with 16kB SRAM and 128kB flash of which we have used 32kB for a bootloader, so only 96kB flash available. Also a SPI-flash memory of 32Mbit (4MByte) is available for storing information, only a small part of 256 kByte of this 4MByte is reserved for other purposes. The libraries I need for this project are added, see the gfxconf.h wich is attached. I even do not have any application yet, but compiling these librarys I already use about ~50kB of flash, so only 46kB remaining. I need to implement a big menu-structure. My worry's are that we run out of flash-memory before I finish the project. Can we have mail-contact about this? I can send then some confidential information about the planned menu-structure for this project. gfxconf.h
  2. Thanks for the quick reply, I will look at it what's best for me. I have another question regarding code-size. I will open a new topic about that. Kind regards, Hilco
  3. Thanks Joel and Inmarket for the quick reply, I already had taken a look into the NATIVE image format, it looks like a good option for me. I also had already played with in ROMFS Putting the NATIVE image format on my SPI-Flash is no big deal But do I need a file-system like FATFS for reading from the SPI-FLASH. I know I can add FATFS with Cube-MX, (I am using an STM-32) but in my opinion it is a little overkill, and not to mention it needs precious microcontroller flash. I was thinking to use the USERFS, and make a simple file-system. Is there an example for that? @Inmarket, I think the GdispBitBlit is a good option for me. What I already did was adding the #define GDISP_HARDWARE_BITFILLS TRUE and I looked into the example from the driver of the STM32LTDC, "gdisp_lld_STM32LTDC.c" where also a gdisp_lld_blit_area routine is used. I used that example as a startingpoint for my own implemtation in the "gdisp_lld_ILI9341.c" Kind regards, Hilco
  4. Hello, I want to store my pictures on an external SPI-flash memory, because the flash of the microcontroller is to small. At the moment I store them in raw format, containing no more then pixeldata, no header at all. In the application I know for each picture what the length, width and hight is and what the offset is in the SPI-flashmemory. I have written a function which uses DMA to read from the SPI-flash, I use double buffering to read a complete image as quick as possible from the SPI-flash. One buffer is filled with DMA, while the other is used to write with bitbanging to an ILI9341 with parallel interface. I have added a gdisp_lld_blit_area function in the gdisp_lld_ILI9341.c file, and call the function described above. But know I'm stuck at how to use the uGFX library correct to pass picture-information so that the GDisplay struct is filled the correct way with x-size , y-size etc. What is the best way to continue? Kind Regards, Hilco
×
×
  • Create New...