From c9d72765cb053f6f6030e035ae7bdfd11a8e2752 Mon Sep 17 00:00:00 2001 From: "qingdao@qing" Date: Sun, 29 May 2022 13:04:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83OpenHarmony=E6=8B=BC=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qingdao@qing --- en/application-dev/reference/apis/js-apis-huks.md | 2 +- en/application-dev/security/huks-overview.md | 2 +- en/device-dev/porting/porting-asr582x-combo-demo.md | 6 +++--- .../deveco-studio-user-guide-for-openharmony.md | 2 +- zh-cn/device-dev/porting/porting-asr582x-combo-demo.md | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-huks.md b/en/application-dev/reference/apis/js-apis-huks.md index 9148b313e2..fee69291fd 100644 --- a/en/application-dev/reference/apis/js-apis-huks.md +++ b/en/application-dev/reference/apis/js-apis-huks.md @@ -4,7 +4,7 @@ > > The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. -Openharmony Universal KeyStore (HUKS) provides KeyStore (KS) capabilities for applications, including key management and key cryptography operations. +OpenHarmony Universal KeyStore (HUKS) provides KeyStore (KS) capabilities for applications, including key management and key cryptography operations. HUKS also provides APIs for applications to import or generate keys. ## Modules to Import diff --git a/en/application-dev/security/huks-overview.md b/en/application-dev/security/huks-overview.md index bf7de59ac4..271fd86195 100644 --- a/en/application-dev/security/huks-overview.md +++ b/en/application-dev/security/huks-overview.md @@ -2,7 +2,7 @@ ### Introduction -Openharmony Universal KeyStore (HUKS) provides KeyStore (KS) capabilities for applications, including key management and key cryptography operations. HUKS also provides APIs for applications to import or generate keys. +OpenHarmony Universal KeyStore (HUKS) provides KeyStore (KS) capabilities for applications, including key management and key cryptography operations. HUKS also provides APIs for applications to import or generate keys. ### Basic Concepts diff --git a/en/device-dev/porting/porting-asr582x-combo-demo.md b/en/device-dev/porting/porting-asr582x-combo-demo.md index c038ad065c..a172ea23a2 100644 --- a/en/device-dev/porting/porting-asr582x-combo-demo.md +++ b/en/device-dev/porting/porting-asr582x-combo-demo.md @@ -335,13 +335,13 @@ if(ret == osOK) } ``` -In `sys_init`, you need to initialize the Openharmony system components. +In `sys_init`, you need to initialize the OpenHarmony system components. ``` ... DeviceManagerStart(); --- Initialize HDF. -OHOS_SystemInit(); --- Initialize Openharmony system components. +OHOS_SystemInit(); --- Initialize OpenHarmony system components. .... ``` @@ -471,7 +471,7 @@ The compilation option entry of the subsystem is in the `config.json` file of th ### LWIP component -The source code of the lwIP component is stored in `//third_party/lwip`. The kernel in Openharmony is customized in `//kernel/liteos_m/components/net/lwip-2.1`, including the redefinition of some interfaces and structures. +The source code of the lwIP component is stored in `//third_party/lwip`. The kernel in OpenHarmony is customized in `//kernel/liteos_m/components/net/lwip-2.1`, including the redefinition of some interfaces and structures. For details about the porting process, see [lwIP Module Adaptation](https://gitee.com/openharmony/docs/blob/master/en/device-dev/porting/porting-chip-board-lwip.md). diff --git a/zh-cn/application-dev/quick-start/deveco-studio-user-guide-for-openharmony.md b/zh-cn/application-dev/quick-start/deveco-studio-user-guide-for-openharmony.md index 8db65fe5c1..85a3b1add4 100644 --- a/zh-cn/application-dev/quick-start/deveco-studio-user-guide-for-openharmony.md +++ b/zh-cn/application-dev/quick-start/deveco-studio-user-guide-for-openharmony.md @@ -4,7 +4,7 @@ HUAWEI DevEco Studio For OpenHarmony(以下简称DevEco Studio)是基于IntelliJ IDEA Community开源版本打造,面向OpenHarmony全场景多设备的一站式集成开发环境(IDE),为开发者提供工程模板创建、开发、编译、调试、发布等E2E的OpenHarmony应用/服务开发。 -[DevEco Studio 3.0 Beta3](https://developer.harmonyos.com/cn/develop/deveco-studio#download_beta_openharmony) 作为支撑Openharmony应用和服务开发的IDE,具有以下能力特点: +[DevEco Studio 3.0 Beta3](https://developer.harmonyos.com/cn/develop/deveco-studio#download_beta_openharmony) 作为支撑OpenHarmony应用和服务开发的IDE,具有以下能力特点: - 支持一站式的信息获取平台 - 提供多设备工程模板 diff --git a/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md b/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md index 8e621698eb..3b77f483e3 100755 --- a/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md +++ b/zh-cn/device-dev/porting/porting-asr582x-combo-demo.md @@ -335,13 +335,13 @@ if(ret == osOK) } ``` -在`sys_init`中,需要对Openharmony的系统组件进行初始化: +在`sys_init`中,需要对OpenHarmony的系统组件进行初始化: ``` ... DeviceManagerStart(); --- HDF初始化 -OHOS_SystemInit(); --- Openharmony系统组件初始化 +OHOS_SystemInit(); --- OpenHarmony系统组件初始化 .... ``` @@ -465,7 +465,7 @@ LOSCFG_DRIVERS_HDF_PLATFORM=y ... ``` -## Openharmony组件移植 +## OpenHarmony组件移植 子系统的编译选项入口在相应产品config.json下,以下以`//vendor/asrmicro/wifi_demo/config.json`为例。 @@ -630,7 +630,7 @@ dsoftbus组件的运行需至少预留80KB RAM。如资源不够,可对其它 ``` 在communication_dsoftbus仓中,加入了-fPIC编译选项,这样会让编译器产生与位置无关代码,并使用相对地址,但是在LiteOS-M核中使用的是静态库,不推荐使用。 -建议开发者手动注释-fPIC编译选项,后续会推进Openharmony统一规划此编译选项的开关。修改方法是在如下的四个文件中,找到"-fPIC"选项,并全部注释: +建议开发者手动注释-fPIC编译选项,后续会推进OpenHarmony统一规划此编译选项的开关。修改方法是在如下的四个文件中,找到"-fPIC"选项,并全部注释: `//foundation/communication/dsoftbus/core/common/BUILD.gn` `//foundation/communication/dsoftbus/core/frame/BUILD.gn` `//foundation/communication/dsoftbus/sdk/BUILD.gn` -- GitLab