今天学习串口通信,看完了资料,敲代码。好歹结束输入。进行编译时,出现如下图所示错误“没有任何选择子跟XXX匹配” 。感到十分纳闷。立即搜索百度,发现这样的错误很少有人遇到。倒是看到几位歪果仁遇到这样的情况的。希望对有的同学有所启发吧。
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_rcc.o(i.RCC_GetClocksFreq).
..\output\USART.axf: Error: L6405E: No .ANY selector matches system_stm32f10x.o(i.SetSysClockTo72).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_gpio.o(i.GPIO_Init).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_usart.o(i.USART_Init).
..\output\USART.axf: Error: L6405E: No .ANY selector matches bsp_usart1.o(i.USART1_Config).
..\output\USART.axf: Error: L6405E: No .ANY selector matches system_stm32f10x.o(i.SystemInit).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd).
..\output\USART.axf: Error: L6405E: No .ANY selector matches bsp_usart1.o(i.fputc).
..\output\USART.axf: Error: L6405E: No .ANY selector matches main.o(i.main).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_usart.o(i.USART_GetFlagStatus).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_usart.o(i.USART_Cmd).
..\output\USART.axf: Error: L6405E: No .ANY selector matches stm32f10x_usart.o(i.USART_SendData).
..\output\USART.axf: Error: L6405E: No .ANY selector matches system_stm32f10x.o(i.SetSysClock).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 13 error messages.
"..\output\USART.axf" - 13 Error(s), 0 Warning(s).
Target not created |