打印

stm32出现下面错误

[复制链接]
2221|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
..\CM3\stm32f10x.h(96): error:  #35: #error directive: "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
  对应的代码是
#if !defined (STM32F10X_LD) && !defined (STM32F10X_LD_VL) && !defined (STM32F10X_MD) && !defined (STM32F10X_MD_VL) && !defined (STM32F10X_HD) && !defined (STM32F10X_HD_VL) && !defined (STM32F10X_XL) && !defined (STM32F10X_CL)
#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#endif

#if !defined  USE_STDPERIPH_DRIVER
跪求解释。。。

相关帖子

沙发
amwrdfe| | 2012-12-7 23:27 | 只看该作者
定义好全局标志.类似

未命名.gif (18.72 KB )

未命名.gif

使用特权

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

本版积分规则

4

主题

13

帖子

0

粉丝