查看: 5681|回复: 1

[提问] 请教STM32调试错误问题

[复制链接]
发表于 2011-1-29 13:20:07 | 显示全部楼层 |阅读模式
在调试时出现
assembling STM32F10x.s...
compiling stm32f10x_spi.c...
..\FWLib\library\src\stm32f10x_spi.c(97): warning:  #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(183): warning:  #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(217): warning:  #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(254): warning:  #223-D: function "assert" declared implicitly
..\FWLib\library\src\stm32f10x_spi.c(311): warning:  #223-D: function "assert" declared implicitly

linking...
.\obj\SD_test.axf: Error: L6218E: Undefined symbol assert (referred from stm32f10x_spi.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __BASEPRICONFIG (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __GetBASEPRI (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __RESETFAULTMASK (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __RESETPRIMASK (referred from stm32f10x_nvic.o).
.\obj\SD_test.axf: Error: L6218E: Undefined symbol __SETFAULTMASK (referred from stm32f10x_nvic.o).

请问,如何处理?
 楼主| 发表于 2011-2-10 11:56:04 | 显示全部楼层
呵呵。问题已解决。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们  -  服务条款  -  使用指南  -  站点地图  -  友情链接  -  联系我们
电子工程网 © 版权所有   京ICP备16069177号 | 京公网安备11010502021702
快速回复 返回顶部 返回列表