新手入门
- 积分
- 17
- 金钱
- 17
- 注册时间
- 2021-11-18
- 在线时间
- 4 小时
|
2金钱
编译是出现重复定义错误
.\Objects\BH-F103.axf: Error: L6200E: Symbol SystemInit multiply defined (by system_stm32f10x_1.o and system_stm32f10x.o).
.\Objects\BH-F103.axf: Error: L6200E: Symbol SystemCoreClock multiply defined (by system_stm32f10x_1.o and system_stm32f10x.o).
.\Objects\BH-F103.axf: Error: L6200E: Symbol AHBPrescTable multiply defined (by system_stm32f10x_1.o and system_stm32f10x.o).
.\Objects\BH-F103.axf: Error: L6200E: Symbol SystemCoreClockUpdate multiply defined (by system_stm32f10x_1.o and system_stm32f10x.o).
system_stm32f10x_1这个文件在keil工程里也找不到,在文件夹能搜索到,删除后再次编译还会出现,这是怎么搞得啊
|
最佳答案
查看完整内容[请看2#楼]
肯定有一个system_stm32f10x_1.c或者.s的文件,和system_stm32f10x.c重复了
|