153 Star 686 Fork 533

OpenHarmony / kernel_liteos_m

 / 详情

compile path details incorrect

已完成
任务
创建于  
2020-11-09 19:47

The file cmsis_liteos.c has the following code to include cmsis_liteos1.c, but such a file doesn't exists in the file system. only <2.0/cmsis_liteos2.c> is available in the repo.

#if (CMSIS_OS_VER == 1)
#include "1.0/cmsis_liteos1.c"
#elif (CMSIS_OS_VER == 2)
#include "2.0/cmsis_liteos2.c"
#endif

评论 (1)

Nagesh 创建了任务
Nagesh 关联仓库设置为OpenHarmony/kernel_liteos_m
Denny 任务状态待办的 修改为进行中
展开全部操作日志

感谢建议,已经完成修改kal/cmsis/cmsis_liteos.c

#include "los_config.h"                                                                                                     
                                                                                                                            
#if (CMSIS_OS_VER == 1)                                                                                                     
#error "cmsis version 1.0 is not supported now!"                                                                            
#elif (CMSIS_OS_VER == 2)                                                                                                   
#include "cmsis_liteos2.c"                                                                                                  
#endif    
SimonLi 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7920580 kkup180 1616642860
C
1
https://gitee.com/openharmony/kernel_liteos_m.git
git@gitee.com:openharmony/kernel_liteos_m.git
openharmony
kernel_liteos_m
kernel_liteos_m

搜索帮助