Question
Bitmap::cacheAll() crash
I stored all image content from section ExtFlashSection on my sd card, when loading:
#define CACHE_SIZE 3000000
void touchgfx_init()
{
uint16_t dispWidth = 800;
uint16_t dispHeight = 480;
uint16_t *cache = (uint16_t*)malloc(CACHE_SIZE);
HAL& hal = touchgfx_generic_init<STM32H7HAL>(dma, display, tc, dispWidth, dispHeight,
cache, CACHE_SIZE, 1000);
Bitmap::cacheAll();
...
}
the program crashes in cacheAll() before calling my overwritten blockCopy().
Is there a demo for Bitmap::cacheAll()?
