cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE + TouchGFX Flash overflow

Petr3
Associate III

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

1 REPLY 1
Petr3
Associate III

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)