
从装了操作系统WIN10 与 cubeide Version: 1.14.0 再编译重装前的程序文件无法完成编译, 出现如下错误 17:52:43 Incremental Build of configuration Debug for project STM32F103C8T6_HAIER_5 make -j8 all arm-none-eabi-gcc "../Core/user/user_callback.c" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xB -c -I../Core/Inc -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Device/ST/STM32F1xx/Include -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Include -I"D:/STM32/STM32F103C8T6_HAIER_5/Core/user" -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Device/ST/STM32F1xx/Include -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/user/user_callback.d" -MT"Core/user/user_callback.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Core/user/user_callback.o" process_begin: CreateProcessW(C:\ST\STM32CubeIDE_1.14.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.100.202310302056\tools\bin\sh.exe, C:/ST/STM32CubeIDE_1.14.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.make.win32_2.1.100.202310302056/tools/bin/sh.exe -c "arm-none-eabi-gcc \"../Core/user/user_callback.c\" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xB -c -I../Core/Inc -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Device/ST/STM32F1xx/Include -IC:/Users/Administrator/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Include -I\"D:/STM32/STM32F103C8T6_HAIER_5/Core/user\" -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Device/ST/STM32F1xx/Include -IC:/Users/llm/STM32Cube/Repository/STM32Cube_FW_F1_V1.8.5/Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF\"Core/user/user_callback.d\" -MT\"Core/user/user_callback.o\" --specs=nano.specs -mfloat-abi=soft -mthumb -o \"Core/user/user_callback.o\"", ...) failed. make (e=87): 参数错误。 make: *** [Core/user/subdir.mk:28: Core/user/user_callback.o] Error 87 "make -j8 all" terminated with exit code 2. Build might be incomplete. 17:52:44 Build Failed. 1 errors, 0 warnings. (took 273ms) 请高人指点,急!!! |
从提示来看,工程文件或目录方面可能有些问题。你先挑个现在的ST例程跑跑,看看有无问题,如有问题,检查cubemx相关目录及库文件是否配置好。若没问题,就重点检查你当前工程各种配置,包括目录。 |
STM32F429 二级启动程序 (sboot) 开发难点:LD 文件 / 堆栈 / NVIC 及 startup.s 修改疑问
stm32G071RBT6跑TOUCHGFX的时候使用仪表控件,更新数值的时候会卡死,怎么解决
touchgfx添加文字不能显示,直接死(HardFault_Handler)
STM32CubeIDE 2.0 有啥新变化?
CubeIDE生成MP257的M33工程出现RCC配置问题(Bug?)
2.0 CubeIDE大概更新时间?
STM32CUBEIDE BUG
STM32CubeIDE 2.0开发下载了吗
新版STM32CubeIDE会不会提供Deepseek
STM32CubeIDE支持第三方插件了吗