From d87d0fc8fc32c2d8daf494499a085de081dc8fb5 Mon Sep 17 00:00:00 2001 From: Zhangzi Date: Thu, 27 Oct 2022 13:53:44 +0000 Subject: [PATCH] =?UTF-8?q?update=20zh-cn/device-dev/driver/driver-periphe?= =?UTF-8?q?rals-camera-des.md.=20=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhangzi --- zh-cn/device-dev/driver/driver-peripherals-camera-des.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md index 34a6b94c98..7d6715a6da 100755 --- a/zh-cn/device-dev/driver/driver-peripherals-camera-des.md +++ b/zh-cn/device-dev/driver/driver-peripherals-camera-des.md @@ -1013,8 +1013,8 @@ Camera驱动的开发过程主要包含以下步骤: "-q | --quit stop preview and quit this app\n"); ``` -3. 编译用例 - 在drivers/peripheral/camera/hal/BUILD.gn文件中的deps中添加init:ohos_camera_demo,示例代码如下: +4. 编译用例 + 在drivers/peripheral/camera/hal/BUILD.gn文件中的deps中添加“init:ohos_camera_demo”,示例代码如下: ``` deps = [ "buffer_manager:camera_buffer_manager", @@ -1026,4 +1026,6 @@ Camera驱动的开发过程主要包含以下步骤: ] ``` - 以RK3568为例:执行全量编译命令./build.sh --product-name rk3568 --ccache,生成可执行二进制文件ohos_camera_demo,路径为:out/rk3568/packages/phone/vendor/bin/。将可执行文件ohos_camera_demo导入开发板,修改权限直接运行即可。 + 以RK3568为例: + 1.执行全量编译命令./build.sh --product-name rk3568 --ccache,生成可执行二进制文件ohos_camera_demo,路径为:out/rk3568/packages/phone/vendor/bin/。 + 2.将可执行文件ohos_camera_demo导入开发板,修改权限直接运行即可。 -- GitLab