未验证 提交 2777e0b8 编写于 作者: O openharmony_ci 提交者: Gitee

!22366 [翻译完成】#I7NRPK

Merge pull request !22366 from Annie_wang/PR21324
......@@ -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()**.
......
......@@ -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)
......
......@@ -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.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册