打印
[STM32F1]

移植ucos的问题

[复制链接]
1104|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
sdibt|  楼主 | 2016-1-9 13:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_flag.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_mbox.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_mem.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_mutex.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_q.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_sem.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_task.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_time.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_tmr.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_cpu_c.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling os_dbg.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
compiling app.c...
..\uCOS-II\Source\ucos_ii.h(1464): error:  #35: #error directive: "OS_CFG.H, Missing OS_FLAG_NAME_SIZE: Determines the size of flag group names"
Target not created
按照别人的方式移植UCOS添加完之后整了这么些错误是什么问题
沙发
拉克丝| | 2016-1-9 17:28 | 只看该作者
仔细检查各路径的设置以及确认该路径下是否含有所需要的文件

使用特权

评论回复
板凳
sdibt|  楼主 | 2016-1-11 10:14 | 只看该作者
从官网下的程序还以为是没问题的,结果OS_FLAG_NAME_SIZE没有。2.91的库改用2.86的就没问题了

使用特权

评论回复
地板
sdibt|  楼主 | 2016-1-11 10:15 | 只看该作者
拉克丝 发表于 2016-1-9 17:28
仔细检查各路径的设置以及确认该路径下是否含有所需要的文件

确实是有问题,官方库里边少一个OS_FLAG_NAME_SIZE

使用特权

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

本版积分规则

5

主题

32

帖子

0

粉丝