diff --git a/en/contribute/OpenHarmony-hdf-coding-guide.md b/en/contribute/OpenHarmony-hdf-coding-guide.md index 276910b4a2a02a608e3b8a5e39deef2f0c8d9009..7d38d9f19295f81dfd288ea44bf4b16439a8ad50 100644 --- a/en/contribute/OpenHarmony-hdf-coding-guide.md +++ b/en/contribute/OpenHarmony-hdf-coding-guide.md @@ -190,7 +190,7 @@ root { [Description] The HDF places the same type of devices in the same host. You can develop and deploy the driver functionalities of the host by layer, so that one driver has multiple nodes. The following figure shows the HDF driver model. -![hdf-driver-model.png](../device-dev/driver/figures/hdf-driver-model.png) +![hdf-driver-model.png](figures/hdf-driver-model.png) Place devices of the same type in the same host. When adding a device, check whether the host of the same type already exists. If such a host already exists, configure the device in the host. Do not configure the same host again. A device belongs to only one driver. Therefore, do not configure the same device in different hosts. diff --git a/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md b/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md index 1e41a3fc45774e9c6ee93d68e1d7706de932561b..453bc6052e742125b1ca7a1063c7533a6c046cc8 100755 --- a/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md +++ b/zh-cn/contribute/OpenHarmony-hdf-coding-guide.md @@ -190,7 +190,7 @@ root { 【说明】HDF框架将一类设备驱动放在同一个Host里面,开发者也可以将Host中的驱动功能分层独立开发和部署,支持一个驱动多个Node,HDF驱动模型如下图所示: -![HDF驱动模型.png](../device-dev/driver/figures/HDF驱动模型.png) +![HDF驱动模型.png](figures/HDF驱动模型.png) 开发者应当将同一类的设备放在同一个Host里面,在新增设备时,检查是否已经存在同类型的Host。如果已存在Host,则将Device配置在此Host中,禁止重复配置Host。一个驱动设备应该只属于一类驱动类型,因此也禁止将同一个Device配置在不同Host当中。 diff --git "a/zh-cn/contribute/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" "b/zh-cn/contribute/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" new file mode 100644 index 0000000000000000000000000000000000000000..f2a5855dfeea0eaa8e4db38323b25858ef6a1e09 Binary files /dev/null and "b/zh-cn/contribute/figures/HDF\351\251\261\345\212\250\346\250\241\345\236\213.png" differ