From 3b77765f91af11a2059f1f6d8ca67e761d143ec4 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Wed, 16 Aug 2023 14:45:32 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/device-dev/driver/driver-peripherals-motion-des.md | 2 +- en/device-dev/subsystems/Readme-EN.md | 1 - .../subsys-build-gn-kconfig-visual-config-guide.md | 9 +++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/en/device-dev/driver/driver-peripherals-motion-des.md b/en/device-dev/driver/driver-peripherals-motion-des.md index eb147972af..3b4c680788 100644 --- a/en/device-dev/driver/driver-peripherals-motion-des.md +++ b/en/device-dev/driver/driver-peripherals-motion-des.md @@ -59,7 +59,7 @@ The motion recognition directory structure is as follows: │ └── unittest\hdi # HDI unit test code for the motion recognition module. ``` -The following describes how to develop a user-mode motion driver based on the HDF. For details, see [motion_interface_driver.cpp](https://gitee.com/openharmony/drivers_peripheral/blob/master/motion/hdi_service/motion_interface_driver.cpp). +The following describes how to develop a user-mode motion driver based on the HDF. For details, see [motion_interface_driver.cpp](https://gitee.com/openharmony/drivers_peripheral/blob/OpenHarmony-3.2-Release/motion/hdi_service/motion_interface_driver.cpp). You need to implement the **Bind()**, **Init()**, **Release()**, and **Dispatch()** functions. The **Bind()** function binds the service capability with the driver; **Init()** implements the initialization required before the driver is loaded; **Release()** reclaims resources when **Init()** fails; **Dispatch()** implements the service, which is bound in **Bind()**. diff --git a/en/device-dev/subsystems/Readme-EN.md b/en/device-dev/subsystems/Readme-EN.md index 18af05d1d8..bc5a5722ed 100644 --- a/en/device-dev/subsystems/Readme-EN.md +++ b/en/device-dev/subsystems/Readme-EN.md @@ -20,7 +20,6 @@ - [HAP Build Guide](subsys-build-gn-hap-compilation-guide.md) - [FAQs](subsys-build-FAQ.md) - [ArkCompiler Development](subsys-arkcompiler-guide.md) -- [Distributed Remote Startup](subsys-remote-start.md) - Graphics - [Graphics Overview](subsys-graphics-overview.md) - [Container Component Development](subsys-graphics-container-guide.md) diff --git a/en/device-dev/subsystems/subsys-build-gn-kconfig-visual-config-guide.md b/en/device-dev/subsystems/subsys-build-gn-kconfig-visual-config-guide.md index 9fd40d7bfb..3ad07d553e 100644 --- a/en/device-dev/subsystems/subsys-build-gn-kconfig-visual-config-guide.md +++ b/en/device-dev/subsystems/subsys-build-gn-kconfig-visual-config-guide.md @@ -30,7 +30,7 @@ Kconfig visual configuration has the following advantages: 2. Set up the environment. - The Kconfiglib required for environment configuration has been embedded in the OpenHarmony hb tool. For details about how to install the hb tool, see [hb Installation](../quick-start/quickstart-pkg-install-tool.md#hb-installation). + The Kconfiglib required for environment configuration has been embedded in the OpenHarmony hb tool. For details about how to install the hb tool, see [Installing hb](../quick-start/quickstart-pkg-install-tool.md#hb-installation). 3. Open the Kconfig configuration interface. @@ -44,7 +44,7 @@ Kconfig visual configuration has the following advantages: 4. Set parameters. - For details about the parameters, see [productdefine/common/base/base_product.json](https://gitee.com/openharmony/productdefine_common/blob/master/base/base_product.json). + For details about the parameter configuration items, see **productdefine/common/base/base_product.json**. ![Setting parameters](./figures/kconfig_set_parameters.gif) @@ -99,7 +99,7 @@ Kconfig visual configuration has the following advantages: ### Latest Components Not Displayed in the Menu List -The component list [productdefine/common/base/base_product.json](https://gitee.com/openharmony/productdefine_common/blob/master/base/base_product.json) is updated with product updates and iterations. The Kconfig menu does not contain the latest components. +The full component list **productdefine/common/base/base_product.json** is updated continuously with the product update and iteration. The Kconfig menu does not contain the latest components. **Solution** @@ -110,4 +110,5 @@ cd build/tools/component_tools python3 generate_kconfig.py ``` -You can run `python3 generate_kconfig.py -h` to view more options. +You can run **python3 generate_kconfig.py -h** to view more options. + -- GitLab