Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos M
提交
fede33b3
K
Kernel Liteos M
项目概览
OpenHarmony
/
Kernel Liteos M
大约 1 年 前同步成功
通知
20
Star
28
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos M
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
fede33b3
编写于
1月 22, 2022
作者:
O
openharmony_ci
提交者:
Gitee
1月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
!568 liteos-m kernel 部件标准化
Merge pull request !568 from Hongjin Li/lihongjin/br_dev
上级
d8e7a477
9314b2fe
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
74 addition
and
30 deletion
+74
-30
bundle.json
bundle.json
+63
-0
components/fs/fatfs/BUILD.gn
components/fs/fatfs/BUILD.gn
+3
-9
components/fs/littlefs/BUILD.gn
components/fs/littlefs/BUILD.gn
+3
-9
kal/cmsis/BUILD.gn
kal/cmsis/BUILD.gn
+2
-5
kal/libc/musl/BUILD.gn
kal/libc/musl/BUILD.gn
+2
-1
testsuites/BUILD.gn
testsuites/BUILD.gn
+1
-6
未找到文件。
bundle.json
0 → 100644
浏览文件 @
fede33b3
{
"name"
:
"@ohos/liteos_m"
,
"version"
:
"3.1.0"
,
"description"
:
"liteos-m kernel"
,
"publishAs"
:
"code-segment"
,
"homePage"
:
"https://gitee.com/openharmony"
,
"repository"
:
"https://gitee.com/openharmony/kernel_liteos_m"
,
"license"
:
"BSD 3-clause"
,
"domain"
:
"os"
,
"language"
:
""
,
"private"
:
false
,
"scripts"
:
{},
"tags"
:
[
"kernel"
],
"keywords"
:
[
"kernel"
,
"liteos-m"
],
"envs"
:
[],
"dirs"
:
[],
"author"
:
{},
"contributors"
:
[],
"segment"
:
{
"destPath"
:
"kernel/liteos_m"
},
"component"
:
{
"name"
:
"liteos_m"
,
"subsystem"
:
"kernel"
,
"syscap"
:
[
"SystemCapability.Kernel.liteos-m"
],
"features"
:
[],
"adapted_system_type"
:
[
"mini"
],
"rom"
:
"300KB"
,
"ram"
:
"100KB"
,
"deps"
:
{
"components"
:
[
"utils_lite"
],
"third_party"
:
[
"bounds_checking_function"
,
"cmsis"
,
"fatfs"
,
"littlefs"
,
"lwip"
,
"musl"
]
},
"build"
:
{
"sub_component"
:
[
"//kernel/liteos_m:kernel"
,
"//kernel/liteos_m:build_kernel_image"
],
"inner_kits"
:
[],
"test"
:
[
"//kernel/liteos_m/testsuites:testsuites"
]
}
}
}
\ No newline at end of file
components/fs/fatfs/BUILD.gn
浏览文件 @
fede33b3
...
@@ -28,21 +28,15 @@
...
@@ -28,21 +28,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//kernel/liteos_m/liteos.gni")
import("//kernel/liteos_m/liteos.gni")
import("//third_party/FatFs/FatFs.gni")
module_switch = defined(LOSCFG_FS_FAT)
module_switch = defined(LOSCFG_FS_FAT)
module_name = get_path_info(rebase_path("."), "name")
module_name = get_path_info(rebase_path("."), "name")
kernel_module(module_name) {
kernel_module(module_name) {
sources = [
"$LITEOSTHIRDPARTY/FatFs/source/diskio.c",
"$LITEOSTHIRDPARTY/FatFs/source/ff.c",
"$LITEOSTHIRDPARTY/FatFs/source/ffsystem.c",
"$LITEOSTHIRDPARTY/FatFs/source/ffunicode.c",
"fatfs.c",
]
configs += [ "$LITEOSTOPDIR:warn_config" ]
configs += [ "$LITEOSTOPDIR:warn_config" ]
sources = FATFS_SRC_FILES + [ "fatfs.c" ]
}
}
config("public") {
config("public") {
include_dirs = [ "." ]
include_dirs = FATFS_INCLUDE_DIRS + [ "." ]
include_dirs += [ "$LITEOSTHIRDPARTY/FatFs/source" ]
}
}
components/fs/littlefs/BUILD.gn
浏览文件 @
fede33b3
...
@@ -28,21 +28,15 @@
...
@@ -28,21 +28,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//kernel/liteos_m/liteos.gni")
import("//kernel/liteos_m/liteos.gni")
import("//third_party/littlefs/littlefs.gni")
module_switch = defined(LOSCFG_FS_LITTLEFS)
module_switch = defined(LOSCFG_FS_LITTLEFS)
module_name = get_path_info(rebase_path("."), "name")
module_name = get_path_info(rebase_path("."), "name")
kernel_module(module_name) {
kernel_module(module_name) {
sources = [
"$LITEOSTHIRDPARTY/littlefs/bd/lfs_rambd.c",
"$LITEOSTHIRDPARTY/littlefs/lfs.c",
"$LITEOSTHIRDPARTY/littlefs/lfs_util.c",
"lfs_api.c",
]
configs += [ "$LITEOSTOPDIR:warn_config" ]
configs += [ "$LITEOSTOPDIR:warn_config" ]
sources = LITTLEFS_SRC_FILES_FOR_KERNEL_MODULE + [ "lfs_api.c" ]
}
}
config("public") {
config("public") {
include_dirs = [ "." ]
include_dirs = LITTLEFS_INCLUDE_DIRS + [ "." ]
include_dirs += [ "$LITEOSTHIRDPARTY/littlefs" ]
include_dirs += [ "$LITEOSTHIRDPARTY/littlefs/bd" ]
}
}
kal/cmsis/BUILD.gn
浏览文件 @
fede33b3
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//kernel/liteos_m/liteos.gni")
import("//kernel/liteos_m/liteos.gni")
import("//third_party/cmsis/cmsis.gni")
module_switch = defined(LOSCFG_KAL_CMSIS)
module_switch = defined(LOSCFG_KAL_CMSIS)
module_name = get_path_info(rebase_path("."), "name")
module_name = get_path_info(rebase_path("."), "name")
...
@@ -37,9 +38,5 @@ kernel_module(module_name) {
...
@@ -37,9 +38,5 @@ kernel_module(module_name) {
}
}
config("public") {
config("public") {
include_dirs = [
include_dirs = CMSIS_INCLUDE_DIRS + [ "." ]
".",
"$LITEOSTHIRDPARTY/cmsis/CMSIS/RTOS2/Include",
"$LITEOSTHIRDPARTY/cmsis/CMSIS/Core/Include",
]
}
}
kal/libc/musl/BUILD.gn
浏览文件 @
fede33b3
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//kernel/liteos_m/liteos.gni")
import("//kernel/liteos_m/liteos.gni")
import("//third_party/musl/porting/liteos_m/kernel/musl.gni")
module_switch = defined(LOSCFG_LIBC_MUSL)
module_switch = defined(LOSCFG_LIBC_MUSL)
module_name = get_path_info(rebase_path("."), "name")
module_name = get_path_info(rebase_path("."), "name")
...
@@ -43,5 +44,5 @@ kernel_module(module_name) {
...
@@ -43,5 +44,5 @@ kernel_module(module_name) {
}
}
config("public") {
config("public") {
include_dirs =
[ "//third_party/musl/porting/liteos_m/kernel/include" ]
include_dirs =
MUSL_INCLUDE_DIRS
}
}
testsuites/BUILD.gn
浏览文件 @
fede33b3
...
@@ -31,12 +31,7 @@ import("//kernel/liteos_m/liteos.gni")
...
@@ -31,12 +31,7 @@ import("//kernel/liteos_m/liteos.gni")
config("include") {
config("include") {
defines = []
defines = []
include_dirs = [
include_dirs = [ "include" ]
"include",
"//kernel/liteos_m/kernel/include",
"//kernel/liteos_m/kernel/arch/include",
"//kernel/liteos_m/components/cpup",
]
if (defined(LOSCFG_KERNEL_TEST_FULL)) {
if (defined(LOSCFG_KERNEL_TEST_FULL)) {
defines += [ "LOS_KERNEL_TEST_FULL=1" ]
defines += [ "LOS_KERNEL_TEST_FULL=1" ]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录