Skip to main content
KSait.1
Associate
January 23, 2020
Question

STM32CubeMX 5.5.0/ TouchGFX 4.13.0 Framebuffer Allocation

  • January 23, 2020
  • 1 reply
  • 622 views

I have switched from TouchGFX 4.12 to the latest 4.13.0.

At the TouchGFXGeneratedHAL.cpp, I found a following line in the

void TouchGFXGeneratedHAL::initialize() function.

uint32_t frameBuf[(800 * 480 * 2 + 3) / 4] LOCATION_ATTRIBUTE("TouchGFX_Framebuffer"); 

(The actual number of allocation is depends on LCD width, height, and bit depth)

This is not in the old version, for example at the file, STM32H7HAL.cpp

Since the allocation uses too much RAM, I am facing linker error.

Are there any ways to fix the problem?

This topic has been closed for replies.

1 reply

KSait.1
KSait.1Author
Associate
January 23, 2020

I found former project uses SDRAM. This question is based on many misunderstandings. Sorry for bothering this forum.