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里面的文件删除即可解决问题!!!!!

物联沃分享整理
物联沃-IOTWORD物联网 » Error: L6200E: Symbol SystemInit multiply defined (by system_stm32f1xx_1.o and system_s

发表评论