2023-05-06 01:19 PM
22:39:03 **** Incremental Build of configuration Debug for project c1 ****
make all
Building file: ../src/c1.c
Invoking: Cross GCC Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/c1.d" -MT"src/c1.o" -o "src/c1.o" "../src/c1.c"
c:/st/stm32cubeide_1.12.1/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.0.200.202301161003/tools/bin/sh: gcc: not found
make: *** [src/subdir.mk:20: src/c1.o] Error 127
"make all" terminated with exit code 2. Build might be incomplete.
22:39:04 Build Failed. 1 errors, 0 warnings. (took 789ms)
Solved! Go to Solution.
2023-05-07 12:18 AM - edited 2023-11-20 06:14 AM
2023-05-06 02:10 PM
Just select the needed toolchain version in the CubeIDE project properties.
When CubeIDE runs build, it automatically adds the toolchain and make to the PATH.
There is no need to tinker with PATH manually.
2023-05-06 03:51 PM
Thanks.
But oooops... I can't find this item. Where is it?
2023-05-07 12:18 AM - edited 2023-11-20 06:14 AM
2023-05-07 01:04 AM - edited 2023-11-20 06:15 AM
Thanks! It is realy will be useful for me, but at the next step.
I am at this point, with very simlpe test of STM32CubeIDE: only "Hell-O World" as oldschool C. Before MCU, before Discovery.....
2023-05-07 01:09 AM - edited 2023-11-20 06:15 AM
...The Tool Chain I have found also. And I don't know, does it need to be changed? :
2023-05-07 01:12 AM
Perhaps there is a setup guide (as pdf) - from STM ?
2023-05-07 06:16 AM
There's no "Tool Chain Editor" in CubeIDE. If you don't have CubeIDE, you have some other toolchain, right? Then you know where you installed it.
If you have common Eclipse CDT with Embedded C/C++ add-on, here is the documentation: https://eclipse-embed-cdt.github.io/
2023-05-07 07:40 AM
>does it need to be changed?
no.
The Getting started with STM32 step-by-step guide
look here:
https://wiki.st.com/stm32mcu/wiki/Category:Getting_started_with_STM32_:_STM32_step_by_step
https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step2_Blink_LED
2023-05-08 08:40 AM
Thank you colleagues!
I will study this.