2019-06-07 07:09 AM
hi,
I'm trying to follow the steps on "CubeIDE 1.0 and TouchGFX 4.10.0: Resolving integration issues" video and I still can't build a project from scratch on Cube IDE. I'm working with TouchGFX graphics too. Here is my build log:
10:46:24 **** Incremental Build of configuration Debug for project *****_build_touchgfx ****
make -j4 all
arm-none-eabi-g++ -o "*****_build_touchgfx.elf" @"objects.list" -ltouchgfx-float-abi-hard -mcpu=cortex-m7 -T"C:\Users\juaun\STM32CubeIDE\workspace_ageon\*****_build_touchgfx\STM32F750N8HX_FLASH.ld" --specs=nosys.specs -Wl,-Map="*****_build_touchgfx.map" -Wl,--gc-sections -static -L"C:\Users\juaun\STM32CubeIDE\workspace_ageon\*****_build_touchgfx\Middlewares\ST\TouchGFX\touchgfx\lib\core\cortex_m7\gcc" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
c:\st\stm32cubeide_1.0.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: *****_build_touchgfx.elf section `.text' will not fit in region `FLASH'
c:\st\stm32cubeide_1.0.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: region `FLASH' overflowed by 146580 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:97: *****_build_touchgfx.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
10:46:38 Build Failed. 1 errors, 0 warnings. (took 13s.685ms)
Thanks a lot!
2019-06-07 08:00 AM
The irony here is the shipped demo uses more flash than the device claims to have, just shy of 192KB as I recall. The die has 1MB, change the linker scripts, whistle a little bit, and burn the resultant image onto the board...