cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-STM32F4 compiling error using Eclipse

JJuli
Associate

I just bought a Nucleo-STM32F466RE and have a problem to use it. I tried to use Eclipse like this tutorial: https://www.carminenoviello.com/2014/12/28/setting-gcceclipse-toolchain-stm32nucleo-part-1/ and I have a problem in compiling the test project. This is the error

17:00:31 **** Incremental Build of configuration Debug for project coba01 ****
make all 
Building file: ../system/src/stm32f4-hal/stm32f4xx_hal.c
Invoking: Cross ARM GNU C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra  -g3 -DDEBUG -DUSE_FULL_ASSERT -DTRACE -DOS_USE_TRACE_ITM -DSTM32F446xx -DUSE_HAL_DRIVER -DHSE_VALUE=8000000 -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/stm32f4-hal" -std=gnu11 -Wno-bad-function-cast -Wno-conversion -Wno-sign-conversion -Wno-unused-parameter -Wno-sign-compare -Wno-missing-prototypes -Wno-missing-declarations -MMD -MP -MF"system/src/stm32f4-hal/stm32f4xx_hal.d" -MT"system/src/stm32f4-hal/stm32f4xx_hal.o" -c -o "system/src/stm32f4-hal/stm32f4xx_hal.o" "../system/src/stm32f4-hal/stm32f4xx_hal.c"
make: *** [system/src/stm32f4-hal/stm32f4xx_hal.o] Error -1073741502
 
17:00:34 Build Failed. 1 errors, 0 warnings. (took 3s.456ms)

I already have make.exe build tools from MinGW and added it in path environment variable. I have no idea what was wrong. Any advise would be appreciated. Thank you.

0 REPLIES 0