2025-07-04 1:52 AM - last edited on 2025-07-04 6:24 AM by mƎALLEm
I use stm32H750ZBT6 to built a LCD driver , when i finished configuring with freeROS , toouchGFX , but STM32CUBE IDE have some error after compiling , touchGFX can't run into target , also,target icon is grey.
the error list photo as follows:
TouchGFX don't run into target and target icon is grey:
STM32CUBEMX add toucuGFX and freeROS :
STM32CUBEMX error list after compiling :
D:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: SC550_43.elf section `.text' will not fit in region `FLASH'
D:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: SC550_43.elf section `TouchGFX_Framebuffer' will not fit in region `RAM_D1'
D:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 862828 bytes
D:/ST/STM32CubeIDE_1.18.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM_D1' overflowed by 56040 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:120: SC550_43.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
2025-07-04 6:20 AM
Hello @miker ,
1- To be able to run on target, you have to write your own Makefile, and configure your touchgfx project to exexute compilation target command :
You should try to get inspiration from our existing TBS to know what to put in your Makefile (in the gcc folder).
2- If you want to add an OS, we have an article explaining step by step how to do it. Please refer to this page
3- These logs are characteristic to wrong configuration of your linker file. You should try to check if the linker file of your STM32CubeIDE project is correct and you're placing your elements in the correct sections.