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