Skip to main content
Slh
Senior
October 15, 2020
Question

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

  • October 15, 2020
  • 0 replies
  • 528 views

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

This topic has been closed for replies.