从装了操作系统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相关目录及库文件是否配置好。若没问题,就重点检查你当前工程各种配置,包括目录。 |
stm32cubeide更新后启动 发生了错误,请参阅日志文件
U575的NUCLEO板怎么使用X-CUBE-MEMS1
STM32CUBEIDE创建的工程名有黄色感叹号
stm32cubeide xx has no member named xx
STM32CubeIDE如何加载外部bin文件?
请问CubeIDE导入模型生成的代码卡死在MX_X_CUBE_AI_Process()函数有人遇到过吗
mcu iic问题:mcu作为i2c-slave, main函数内循环打印,收到 i2c get 时,循环打印停止了是什么原因?
CubeIDE工程点击RUN报错Could not determine GDB version怎么解决
求助!!!stm32cubeide工程运行报错eclipse.cdt.core,该如何解决
Cortex m3内核是很特殊吗,为什么st公司的很多软件比如cubemx.ai唯独不支持m3内核的stm32f1系列