Please select first the STM32 EVAL board to be used (in stm32_eval.h)?什么问题?

yinyinehnzuotong 2011-09-14 08:22:57
第一次在MDK环境下建立工程 就遇到了这个问题 一直解决不了 。。。。。
高手 谢谢了!!!
...全文
1782 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lskam361245810 2012-03-12
  • 打赏
  • 举报
回复
"Please select first the STM32 EVAL board to be used (in stm32_eval.h)"

这到底是个什么问题啊,,,
纠结
liufuhai19870622 2012-03-06
  • 打赏
  • 举报
回复
还是不行啊。请楼上再指导指导啊。谢谢了
woshi_ziyu 2011-09-14
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 woshi_ziyu 的回复:]

引用楼主 yinyinehnzuotong 的回复:
第一次在MDK环境下建立工程 就遇到了这个问题 一直解决不了 。。。。。
高手 谢谢了!!!


#ifdef USE_STM32100B_EVAL //如果是定义了USE_STM32100B_EVAL
#include "stm32100b_eval/stm32100b_eval.c"//就执行这句
#elif ……
[/Quote]
请仔细看
woshi_ziyu 2011-09-14
  • 打赏
  • 举报
回复
[Quote=引用楼主 yinyinehnzuotong 的回复:]
第一次在MDK环境下建立工程 就遇到了这个问题 一直解决不了 。。。。。
高手 谢谢了!!!
[/Quote]

#ifdef USE_STM32100B_EVAL //如果是定义了USE_STM32100B_EVAL
#include "stm32100b_eval/stm32100b_eval.c"//就执行这句
#elif defined USE_STM3210B_EVAL//否则如果是定义了USE_STM3210B_EVAL
#include "stm3210b_eval/stm3210b_eval.c" //就执行这句
#elif defined USE_STM3210E_EVAL//否则如果是定义了USE_STM3210E_EVAL
#include "stm3210e_eval/stm3210e_eval.c"//就执行这句
#elif defined USE_STM3210C_EVAL //同上
#include "stm3210c_eval/stm3210c_eval.c" //同上
#else //以上全部不是 执行下面
#error "Please select first the STM32 EVAL board to be used (in stm32_eval.h)"

解决方法:
"Please select first the STM32 EVAL board ...

27,511

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧