I am running out of RAM on my teensy 4.1 and need to align some image buffers into either DMAMEM or EXTMEM, but in order to do that I need to understand where the buffers are stored for images that are accessed via the SD card.
I have successfully moved my canvas buffer into DMAMEM, but not sure where the buffers are located for images read from an SD… be it jpgs, png’s or BMP’s.
Move image buffers to DMAMEM or a QSPI device
Example of canvas to DMA mem:
DMAMEM static uint8_t cbuf[LV_CANVAS_BUF_SIZE_TRUE_COLOR(320, 240)]; //Need to implement the same sort of thing for images read from an SD card