未验证 提交 1d22c8f6 编写于 作者: 叶金凤 提交者: Gitee

【OpenHarmony开源贡献者计划2022】update zh-cn/device-dev/porting/porting-w800-combo-demo.md.

Signed-off-by: N叶金凤 <ye__jinfeng@163.com>
Signed-off-by: N叶金凤 <ye__jinfeng@163.com>
上级 53155573
......@@ -49,7 +49,7 @@
"kernel_version": "3.0.0", --- 内核版本:3.0.0
"subsystems": [] --- 子系统
}
```
```
填入的信息与规划的目录相对应,其中`device_company``board`用于关联出`device/board/<device_company>/`目录。
### 单板配置
......@@ -403,7 +403,8 @@ OHOS Which product do you need? neptune_iotlink_demo
{
"subsystem": "kernel",
"components": [
{ "component": "liteos_m", "features":[]
{
"component": "liteos_m", "features":[]
}
]
},
......@@ -419,11 +420,11 @@ OHOS Which product do you need? neptune_iotlink_demo
osStatus_t ret = osKernelInitialize(); --- 内核初始化
if(ret == osOK)
{
threadId = osThreadNew((osThreadFunc_t)sys_init,NULL,&g_main_task); --- 创建init线程
if(threadId!=NULL)
{
osKernelStart(); --- 线程调度
}
threadId = osThreadNew((osThreadFunc_t)sys_init,NULL,&g_main_task); --- 创建init线程
if(threadId!=NULL)
{
osKernelStart(); --- 线程调度
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册