cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX - Display an Image from the specified address of SD-RAM

Slh
Senior

I have saved a bitmap-file at 0xC0000000 external SD-RAM. How can I display this photo with TouchGFX?

I tried this code from this page but got a little confused.

In TouchGFXConfiguration.cpp:

static uint32_t bmpCache = (uint32_t)(0xC0000000); // SDRAM
void touchgfx_init()
{
  HAL& hal = touchgfx_generic_init<STM32F7HAL>(dma, display, tc, 640, 480, (uint16_t*)bmpCache, 921600, 1);
  ...
}

0 REPLIES 0