打印

对KEIL的Option意外设置导致的奇葩错误现象(深受启发)

[复制链接]
554|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
电员师|  楼主 | 2020-4-26 15:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
今天学习串口通信,看完了资料,敲代码。好歹结束输入。进行编译时,出现如下图所示错误“没有任何选择子跟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

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

471

主题

480

帖子

0

粉丝