Error: L6200E: Symbol HAL_MspInit multiply defined (by stm32f1xx_hal_msp.o and stm32f1xx_hal_msp_..

Error: L6200E: Symbol HAL_MspInit multiply defined (by stm32f1xx_hal_msp.o and stm32f1xx_hal_msp_template.o).

 

stm32f1xx_hal_msp.c 和stm32f1xx_hal_msp_template.c重复了需要删掉一个就可以了

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Build target 'APP' compiling main.c... compiling dma.c... compiling gpio.c... compiling stm32f1xx_it.c... compiling tim.c... compiling stm32f1xx_hal_msp.c... compiling usart.c... compiling logic.c... compiling uart_app.c... compiling system.c... compiling periph.c... compiling schedule.c... ..\APP\schedule.c(64): warning: #1-D: last line of file ends without a newline ..\APP\schedule.c: 1 warning, 0 errors linking... APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by gpio.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by dma.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by tim.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by usart.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by stm32f1xx_it.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by stm32f1xx_hal_msp.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by logic.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by periph.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by schedule.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by system.o and main.o). APP\APP.axf: Error: L6200E: Symbol rx_length multiply defined (by uart_app.o and main.o). APP\APP.axf: Error: L6200E: Symbol uart_proc multiply defined (by uart_app.o and stm32f1xx_it.o). Not enough information to list image symbols. Not enough information to list load addresses in the image map. Finished: 2 information, 0 warning and 12 error messages. "APP\APP.axf" - 12 Error(s), 1 Warning(s). Target not created. Build Time Elapsed: 00:00:09
最新发布
07-20
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值