.\Objects\UART-F103.axf: Error: L6200E: Symbol USART_Config multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol Usart_SendString multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol GPIO_USART1_Config multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol NVIC_Configuration multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol USART1_Config multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol USART_Interrupts_Configuration multiply defined (by uart_bsp.o and stm32f10x_it.o).
.\Objects\UART-F103.axf: Error: L6200E: Symbol Usart_SendByte multiply defined (by uart_bsp.o and stm32f10x_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 7 error messages.
".\Objects\UART-F103.axf" - 7 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:09
然后我再bsp.c文件中的程序加上static 就好了 但是还没有验证能不能实现试验现象。
为什么会出现这种原因啊?stm32f10x_it.c中 我啥都没写还报错??
求大腿抱!!! |