2025-03-17 3:12 AM
I'm using stm32u5f7vjt MCU with touch gfx designer for 5" Touch display. So I'm getting some error during adding image in touchgfx Designer not any issue its generated the but when i build my main code its generated error likes TouchGFX_Framebuffer will not fit in region 'FLASH', makefile error and region overflowed by 134688 bytes. how to solve this error?
Description Resource Path Location Type
5INCH_TFT.elf section `TouchGFX_Framebuffer' will not fit in region `FLASH' 5INCH_TFT C/C++ Problem
Description Resource Path Location Type
make: *** [makefile:121: 5INCH_TFT.elf] Error 1 5INCH_TFT C/C++ Problem
Description Resource Path Location Type
region `FLASH' overflowed by 134688 bytes 5INCH_TFT C/C++ Problem
2025-03-17 5:13 AM
Hello @Furkan2 ,
5INCH_TFT.elf section `TouchGFX_Framebuffer' will not fit in region `FLASH' 5INCH_TFT C/C++ Problem
region `FLASH' overflowed by 134688 bytes 5INCH_TFT C/C++ Problem
This error means that the framebuffer requires more memory than you have memory available in your flash.
To solve this issue you have multiple solutions:
I hope this helps!
If this comment solves your issue, I invite you to select it as "best answer".
Regards,