2020-10-15 02:08 AM
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);
...
}