提交 c9d72765 编写于 作者: Q qingdao@qing

规范OpenHarmony拼写

Signed-off-by: Nqingdao@qing <qing@ohos.com.cn>
上级 5454c765
...@@ -4,7 +4,7 @@ ...@@ -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. > 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. HUKS also provides APIs for applications to import or generate keys.
## Modules to Import ## Modules to Import
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
### Introduction ### 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 ### Basic Concepts
......
...@@ -335,13 +335,13 @@ if(ret == osOK) ...@@ -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. 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 ...@@ -471,7 +471,7 @@ The compilation option entry of the subsystem is in the `config.json` file of th
### LWIP component ### 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). 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).
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
HUAWEI DevEco Studio For OpenHarmony(以下简称DevEco Studio)是基于IntelliJ IDEA Community开源版本打造,面向OpenHarmony全场景多设备的一站式集成开发环境(IDE),为开发者提供工程模板创建、开发、编译、调试、发布等E2E的OpenHarmony应用/服务开发。 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,具有以下能力特点:
- 支持一站式的信息获取平台 - 支持一站式的信息获取平台
- 提供多设备工程模板 - 提供多设备工程模板
......
...@@ -335,13 +335,13 @@ if(ret == osOK) ...@@ -335,13 +335,13 @@ if(ret == osOK)
} }
``` ```
`sys_init`中,需要对Openharmony的系统组件进行初始化: `sys_init`中,需要对OpenHarmony的系统组件进行初始化:
``` ```
... ...
DeviceManagerStart(); --- HDF初始化 DeviceManagerStart(); --- HDF初始化
OHOS_SystemInit(); --- Openharmony系统组件初始化 OHOS_SystemInit(); --- OpenHarmony系统组件初始化
.... ....
``` ```
...@@ -465,7 +465,7 @@ LOSCFG_DRIVERS_HDF_PLATFORM=y ...@@ -465,7 +465,7 @@ LOSCFG_DRIVERS_HDF_PLATFORM=y
... ...
``` ```
## Openharmony组件移植 ## OpenHarmony组件移植
子系统的编译选项入口在相应产品config.json下,以下以`//vendor/asrmicro/wifi_demo/config.json`为例。 子系统的编译选项入口在相应产品config.json下,以下以`//vendor/asrmicro/wifi_demo/config.json`为例。
...@@ -630,7 +630,7 @@ dsoftbus组件的运行需至少预留80KB RAM。如资源不够,可对其它 ...@@ -630,7 +630,7 @@ dsoftbus组件的运行需至少预留80KB RAM。如资源不够,可对其它
``` ```
在communication_dsoftbus仓中,加入了-fPIC编译选项,这样会让编译器产生与位置无关代码,并使用相对地址,但是在LiteOS-M核中使用的是静态库,不推荐使用。 在communication_dsoftbus仓中,加入了-fPIC编译选项,这样会让编译器产生与位置无关代码,并使用相对地址,但是在LiteOS-M核中使用的是静态库,不推荐使用。
建议开发者手动注释-fPIC编译选项,后续会推进Openharmony统一规划此编译选项的开关。修改方法是在如下的四个文件中,找到"-fPIC"选项,并全部注释: 建议开发者手动注释-fPIC编译选项,后续会推进OpenHarmony统一规划此编译选项的开关。修改方法是在如下的四个文件中,找到"-fPIC"选项,并全部注释:
`//foundation/communication/dsoftbus/core/common/BUILD.gn` `//foundation/communication/dsoftbus/core/common/BUILD.gn`
`//foundation/communication/dsoftbus/core/frame/BUILD.gn` `//foundation/communication/dsoftbus/core/frame/BUILD.gn`
`//foundation/communication/dsoftbus/sdk/BUILD.gn` `//foundation/communication/dsoftbus/sdk/BUILD.gn`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册