Skip to main content
Associate III
April 2, 2024
Question

STM32CubeIDE + TouchGFX Flash overflow

  • April 2, 2024
  • 1 reply
  • 1018 views

Hello,

i'm trying to incorporate TouchGFX into STM32CubeIDE with project based on STM32F767BIT6 (2MB Flash). Without TouchGFX the project can be build with size about 170kB. I updated STM32CubeIDE from 1.14.1 on 1.15.0 and i dont have working Build Analyzer (empty Memory Regions and Memory Details) but code still can be compilated and works on hardware.

Then i tried to add TouchGFX application via *.ioc and designed blank screeen in TouchGFX designer. In the simulator window with blank screen shows correct. But when i'm trying to compile application in the STM32CubeIDE together with TouchGFX graphic design im getting errors about huge flash overflow:

C:/ST/STM32CubeIDE_1.8.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: ARM_FPGA_SoftWebRadio.elf section `IntFlashSection' will not fit in region `FLASH'
C:/ST/STM32CubeIDE_1.8.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.win32_1.0.100.202403111256/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 3221040 bytes

 

Do someone know, how to fix this?

Thanks

This topic has been closed for replies.

1 reply

Petr3Author
Associate III
April 2, 2024

I removed TouchGFX from the STM32CubeIDE project and deleted TouchGFX folder. Then again compiled it without errors. Again add TouchGFX project and now it can be compiled without overflow errors.

But still dont have working Build Analyzer(empty memory regions)