Question
Where can I find the generated code base the size of allocated framebuffer?
So I browse around the generated code from TouchGFX Designer template, I can find where the frame buffer address is defined, however I could not find the size of it, can someone give me some pointer please?
void TouchGFXGeneratedHAL::initialize()
{
HAL::initialize();
registerEventListener(*(Application::getInstance()));
setFrameBufferStartAddresses((void*)0xC0000000, (void*)0, (void*)0);
/*
* Set whether the DMA transfers are locked to the TFT update cycle. If
* locked, DMA transfer will not begin until the TFT controller has finished
* updating the display. If not locked, DMA transfers will begin as soon as
* possible. Default is true (DMA is locked with TFT).
*/
lockDMAToFrontPorch(true);
}I want to verify that my buffer size is indeed according to stated in this docs
https://support.touchgfx.com/docs/basic-concepts/framebuffer/#amount-of-framebuffers
My intention was to verify that the buffer size should be reduced if I reduced my color depth.
