mokongking

MDK Keil5创建stm32工程出现 …\OBJ\Template.axf: Error: L6200E: Symbol HAL_MspDeInit multiply defined(bystm32f7xx_hal_msp_template.o and stm32f7xx_hal_msp.o).错误的解决方法

MDK Keil5创建stm32工程出现 …\OBJ\Template.axf: Error: L6200E: Symbol HAL_MspDeInit multiply defined(bystm32f7xx_hal_msp_template.o and stm32f7xx_hal_msp.o).错误的解决方法
错误提示如图:

 


解决方法如下:
1.找到左边目录,右键选择manage project items,找到对应文件,删除即可

右击选择Template:

选择Manage Project Items:

 

根据箭头所指方向找到对应文件,删除即可:

 

 

2.也可以直接在HALLIB目录下将该文件删除

 


完美解决!

 

posted on 2024-07-23 12:01  虎啸岳林  阅读(13)  评论(0编辑  收藏  举报

导航