Skip to main content
Associate II
May 10, 2024
Question

STM32cubeIDE make: [makefile:103: STM32H747I-DISCO_CM7.elf] Error 127

  • May 10, 2024
  • 2 replies
  • 1308 views

11:06:38 **** Incremental Build of configuration Debug for project STM32H747I-DISCO_CM7 ****

make all

arm-none-eabi-arm-none-eabi-arm-none-eabi-gcc -o "STM32H747I-DISCO_CM7.elf" @"objects.list" -l:libtouchgfx-float-abi-hard.a -mcpu=cortex-m7 -T"G:\TouchGFX\TouchGFXProjects\MyDemo\STM32CubeIDE\CM7\STM32H747XIHX_FLASH.ld" --specs=nosys.specs -Wl,-Map="STM32H747I-DISCO_CM7.map" -Wl,--gc-sections -static -L../../../CM7/Middlewares/ST/touchgfx/lib/core/cortex_m7/gcc --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group

g:/stm32cubeide_1.15.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.300.202402091052/tools/bin/sh: arm-none-eabi-arm-none-eabi-arm-none-eabi-gcc: not found

make: *** [makefile:103: STM32H747I-DISCO_CM7.elf] Error 127

"make all" terminated with exit code 2. Build might be incomplete.

 

11:06:40 Build Failed. 1 errors, 0 warnings. (took 2s.517ms)

 

How to solve this problem?

This topic has been closed for replies.

2 replies

Pavel A.
May 10, 2024

arm-none-eabi-arm-none-eabi-arm-none-eabi-gcc: not found

The ARM toolchain is not found. Check in the project properties that the toolchain is installed. If not - either install the needed toolchain or select one of available toolchains.

judyAuthor
Associate II
May 14, 2024

thanks,I solved the problem by regenerating the code with touchgfx, then configuring it with cubeMX, and then recompiling it in cubeIDE.