2021-04-19 10:13 PM
I created two screens and did the actions to change the screen. But changing the screen does not work correctly.
Added an extra buffer for animation
uint16_t buf_ram [160*128];
using namespace touchgfx;
namespace {
LOCATION_PRAGMA("TouchGFX_Framebuffer")
uint32_t frameBuf[(160 * 128 * 2 + 3) / 4 * 2] LOCATION_ATTRIBUTE("TouchGFX_Framebuffer");
}
void TouchGFXGeneratedHAL::initialize()
{
HAL::initialize();
registerEventListener(*(Application::getInstance()));
setFrameBufferStartAddresses((void*)frameBuf, (void*)(frameBuf + sizeof(frameBuf)/(sizeof(uint32_t)*2)), (void*)buf_ram);
}
2021-04-23 04:16 AM
Created a project for the display of LTDS and the buffer is stored in the sdram. Everything works perfectly. Under the fms and the buffer in the ram does not work.
2021-11-02 12:18 AM
Created a venture for the display of LTDS and the buffer is saved in the sdram. Everything works flawlessly with new page. Under the fms and the buffer within the ram does no longer paintings.