
从装了操作系统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相关目录及库文件是否配置好。若没问题,就重点检查你当前工程各种配置,包括目录。 |
CUBEIDE 调试过程中,如何蒋数组仲的数据拷贝到电脑?
请问如何在下载程序时保护flash中的用户数据不被覆盖?
STM32CUBEIDE 1.19.0 自动生成编码 原有工程GBK编码格式中文乱码。
STM32U5+LPBAM需设置RAM为SRAM4的地址,否则LPBAM无法运行?
tougfx 显示问题
STM32CubeIDE1.16.1创建新的STM32工程之后没有自动弹出引脚配置界面
关于昨天说的STMCubeIDE创建工程无法选择STM32Cube的问题,有解决办法了
关于STMCubeIDE创建工程BUG解决办法!!!
IDE软件这什么情况
肯定是软件哪里不行了