cancel
Showing results for 
Search instead for 
Did you mean: 

Touch GFX Framebuffer does not fit intermal memory STM32F469 Disco

Enekkk
Associate II

Good morning, 

I recently created a project using an STM32F469NI - disco (2Mb flash, 320 KB Sram) board. Firstly, I created a project with the board default configuration, add the peripherals and labeled some pins. 

Later, I added Touch GFX as a software pack to create a simple screen conformed by an image and a text area.

Enekkk_0-1739867009414.png

 

The problem comes when I try to compile the project, it does not fit the memory. 

C:/Z-Eneko/STM32CubeIDE_1.13.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: SPI_PROJECT_0.elf section `ExtFlashSection' will not fit in region `FLASH'

C:/Z-Eneko/STM32CubeIDE_1.13.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: SPI_PROJECT_0.elf section `TouchGFX_Framebuffer' will not fit in region `RAM'

C:/Z-Eneko/STM32CubeIDE_1.13.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 484696 bytes

C:/Z-Eneko/STM32CubeIDE_1.13.2/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.1.0.202410251130/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 966432 bytes.

 

The TOUCH GFX Framebuffer is located as single buffer but 800 x 480 x 2 (RGB565) = 720 KB ram but only 320 KB there. I do not know how to fix this because when I create the project directly on TouchGFX it does not appear this problem, the GUI fits in the usable memory. Do I hace to modify the linker?

 

Thank you all!

 

0 REPLIES 0