ST意法半导体
直播中

高桂清

7年用户 1000经验值
私信 关注
[问答]

STM32CubeIDE为什么无法在没有严重损坏的情况下更新LoRaWAN_End_Node.ioc?

我使用 STM32CubeIDE 1.6.1 和 STM32_WL V1.0.0 创建 LoRaWAN_End_Node 示例项目。当我编辑 IOC 文件以简单地添加对 CRC 的支持并重新生成源代码时,我无法再构建示例。
我收到大量重复符号错误 - 例如:
  • C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:73: multiple definition of `memcpyr'; Middlewares/LoRaWAN/utilities.o:C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:73: first defined here
  • c:ststm32cubeide_1.5.1stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924toolsarm-none-eabibinld.exe: Middlewares/LoRaWAN/Utilities/utilities.o: in function `memset1':
  • C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:82: multiple definition of `memset1'; Middlewares/LoRaWAN/utilities.o:C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:82: first defined here
  • c:ststm32cubeide_1.5.1stm32cubeidepluginscom.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924toolsarm-none-eabibinld.exe: Middlewares/LoRaWAN/Utilities/utilities.o: in function `Nibble2HexChar':
  • C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:90: multiple definition of `Nibble2HexChar'; Middlewares/LoRaWAN/utilities.o:C:/Users/danam/STM32CubeIDE/workspace_1.6.1/LoRaWAN_End_Node/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:90: first defined here
  • collect2.exe: error: ld returned 1 exit status
  • make: *** [makefile:79: LoRaWAN_End_Node.elf] Error 1
  • "make -j16 all" terminated with exit code 2. Build might be incomplete.
我如何以不会发生这种情况的方式使用这些工具?









回帖(1)

萧蔼晨

2022-12-30 11:30:37
完全删除工作区并重新安装 STM32CubeIDE 后,此问题似乎已经消失。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分