使用Eclipse构建Nucleo-STM32F4错误

时间:2018-12-08 10:18:50

标签: eclipse compiler-errors arm eclipse-cdt stm32f4

我刚购买了Nucleo-STM32F466RE,但使用时遇到问题。我试图像这样tutorial使用Eclipse,但是在编译测试项目时遇到了问题。这是错误

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)

我已经有了MinGW的make.exe构建工具,并将其添加到路径环境变量中。我不知道怎么了。任何建议将不胜感激。谢谢。

0 个答案:

没有答案