Error: L6200E: Symbol SystemInit multiply defined (by system_stm32f1xx_1.o and system_s

项目场景:

提示:这里简述项目相关背景:

例如:keil 一直显示重复定义!
搞了一周时间了!!!!!!!!!!!!!!1

Error: L6200E: Symbol SystemInit multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol SystemInit multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol __asm___18_system_stm32f1xx_c_5d646a67____REV16 multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol __asm___18_system_stm32f1xx_c_5d646a67____REVSH multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol __asm___18_system_stm32f1xx_c_5d646a67____RRX multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol AHBPrescTable multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol APBPrescTable multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol SystemCoreClock multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
I2C\I2C.axf: Error: L6200E: Symbol SystemCoreClockUpdate multiply defined (by system_stm32f1xx_1.o and system_stm32f1xx.o).
Not enough information to list image symbols.
Not enough information to list the image map.

解决方案:

提示:这里填写该问题的具体解决方案:

在这里插入图片描述

在这里插入图片描述
在项目的文件里面 core 和 drivers/cmsis 都重复定义了system_stm32f1xx.c 。
把core里面的文件删除即可解决问题!!!!!


版权声明:本文为weixin_42096303原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
THE END
< <上一篇
下一篇>>