你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

求助 STM 工程组建问题

[复制链接]
phoinikas 提问时间:2009-2-11 20:18 /
在看完了例程之后,开始编自己的程序。
但是对照例程中的option 设置。将一切都设置好后还是不能够正常运行。
出现了以下的问题。声明代码没有错误。
Error[Pe020]: identifier "TIM1" is undefined
Changed settings forces a full rebuild...
Building configuration: workstation - Debug
Updating build tree...
 
23  file(s) deleted.
Updating build tree...
main.c
stm32f10x_adc.c
stm32f10x_bkp.c

Error[Pe020]: identifier "CAN" is undefined 
Error[Pe020]: identifier "CAN" is undefined 
Error[Pe020]: identifier "CAN" is undefined 
Error[Pe020]: identifier "CAN" is undefined 
Error[Pe020]: identifier "CAN" is undefined 
stm32f10x_dma.c
stm32f10x_exti.c
Error[Pe020]: identifier "EXTI" is undefined 
Error[Pe020]: identifier "EXTI" is undefined 
Error[Pe020]: identifier "EXTI" is undefined 
Error[Pe020]: identifier "EXTI" is undefined 
 Error[Pe020]: identifier "EXTI" is undefined
 Error[Pe020]: identifier "EXTI" is undefined
 
 
 
 不短道是什么原因。向大家请教。 
 
收藏 评论1 发布时间:2009-2-11 20:18

举报

1个回答
wolaiye945 回答时间:2009-2-12 12:46:56

RE:求助 STM 工程组建问题

在Mr.Ma的博客中已经给你回复过了。
第一个错误是说CAN没有被定义就使用了,其他的也类似,这个要出就会出一大堆,因为有多少文件中用到了就会有多少报错。
解决方法就是找到工程文件夹下的STM32F10x_CONF.H这个文件,把相应字符宏定义体前面的注释符号去掉就行。

所属标签

相似问题

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
微信公众号二维码 微信公众号
手机版二维码 手机版