Closed Jaron123 closed 3 years ago
In the makefile, since GCC_PATH is not defined for you, set GCC_PATH to the full windows path to the ST gcc compiler binary. Or you could add the path to the binary to your windows environment variable PATH. On Wednesday, 5 May, 2021, 03:05:02 pm IST, Jaron123 @.***> wrote:
Hello,
When trying to build the project I get: "
make all arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DUSE_FULL_ASSERT -DSTM32F401xC -DDEBUG_FEEDBACK_ENDPOINT -Iinc -Idrivers/STM32F4xx_HAL_Driver/Inc -Idrivers/STM32F4xx_HAL_Driver/Inc/Legacy -Istm32_usb/Core/Inc -Istm32_usb/Class/AUDIO/Inc -Idrivers/CMSIS/Device/ST/STM32F4xx/Include -Idrivers/CMSIS/Include -Idrivers/BSP -O2 -Wall -fdata-sections -ffunction-sections -MMD -MP -MF"build/main.d" -Wa,-a,-ad,-alms=build/main.lst src/main.c -o build/main.o c:/st/stm32cubeide_1.6.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_1.5.0.202011040924/tools/bin/sh: arm-none-eabi-gcc: not found make: *** [Makefile:180: build/main.o] Error 127 "make all" terminated with exit code 2. Build might be incomplete.
" I'm new to makefiles and compiling with STM32CubeIDE but so this might be inexperience but I'm at a loss of what to do. Am I missing something? Is the project still ready to build?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks Hair in air! If anyone has the same problem I copy and pasted the PATH variables (Project-properties-Enviroment) from another project into this one and that seemed to work.
Thanks Hair in air! If anyone has the same problem I copy and pasted the PATH variables (Project-properties-Enviroment) from another project into this one and that seemed to work.
hello bro, i didn''t undestand how do you solved it what software o binaries do you used to compile this on windows (i had to install ubuntu (i only use windows and fedora distro where i couldn't compile this) and a lot of packets to make it compile jaja)
Hello,
When trying to build the project I get: "
make all arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DUSE_FULL_ASSERT -DSTM32F401xC -DDEBUG_FEEDBACK_ENDPOINT -Iinc -Idrivers/STM32F4xx_HAL_Driver/Inc -Idrivers/STM32F4xx_HAL_Driver/Inc/Legacy -Istm32_usb/Core/Inc -Istm32_usb/Class/AUDIO/Inc -Idrivers/CMSIS/Device/ST/STM32F4xx/Include -Idrivers/CMSIS/Include -Idrivers/BSP -O2 -Wall -fdata-sections -ffunction-sections -MMD -MP -MF"build/main.d" -Wa,-a,-ad,-alms=build/main.lst src/main.c -o build/main.o c:/st/stm32cubeide_1.6.0/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_1.5.0.202011040924/tools/bin/sh: arm-none-eabi-gcc: not found make: *** [Makefile:180: build/main.o] Error 127 "make all" terminated with exit code 2. Build might be incomplete.
" I'm new to makefiles and compiling with STM32CubeIDE but so this might be inexperience but I'm at a loss of what to do. Am I missing something? Is the project still ready to build?