From 4e701bd5373303cf044b7d02563098faa60a9b87 Mon Sep 17 00:00:00 2001 From: Zhangzi Date: Thu, 27 Oct 2022 13:08:22 +0000 Subject: [PATCH] =?UTF-8?q?update=20zh-cn/device-dev/driver/driver-periphe?= =?UTF-8?q?rals-camera-des.md.=20=E6=8C=87=E5=8D=97=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 | 6 ++---- 1 file changed, 2 insertions(+), 4 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 897d79396b..6e72c16a69 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,7 @@ Camera驱动的开发过程主要包含以下步骤: "-q | --quit stop preview and quit this app\n"); ``` -4、编译用例 - +3. 编译用例 在drivers/peripheral/camera/hal/BUILD.gn文件中的deps中添加"init:ohos_camera_demo",示例代码如下: ``` deps = [ @@ -1026,6 +1025,5 @@ Camera驱动的开发过程主要包含以下步骤: "init:ohos_camera_demo", ] ``` - + 以RK3568为例:执行全量编译命令./build.sh --product-name rk3568 --ccache,生成可执行二进制文件ohos_camera_demo,路径为:out/rk3568/packages/phone/vendor/bin/。将可执行文件ohos_camera_demo导入开发板,修改权限直接运行即可。 - -- GitLab