From 7128e3379667b77e130e71ee32d27bfe264ad70e Mon Sep 17 00:00:00 2001 From: Charles Dias Date: Thu, 24 Oct 2024 19:33:58 +0100 Subject: [PATCH] samples: drivers: video: capture_to_lvgl: add menu and update the YAML Add the Kconfig menu to the sample configuration. Update sample.yaml by adding the shield configuration. Signed-off-by: Charles Dias --- samples/drivers/video/capture_to_lvgl/Kconfig | 8 +++++++- samples/drivers/video/capture_to_lvgl/sample.yaml | 13 ++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/samples/drivers/video/capture_to_lvgl/Kconfig b/samples/drivers/video/capture_to_lvgl/Kconfig index 541ca33e1d3..edff9ffbc37 100644 --- a/samples/drivers/video/capture_to_lvgl/Kconfig +++ b/samples/drivers/video/capture_to_lvgl/Kconfig @@ -3,7 +3,9 @@ # Copyright (c) 2024 Charles Dias # SPDX-License-Identifier: Apache-2.0 -source "Kconfig.zephyr" +mainmenu "Video capture to LVGL sample application" + +menu "Video capture configuration" config VIDEO_WIDTH int "Define the width of the video" @@ -20,3 +22,7 @@ config VIDEO_HFLIP config VIDEO_VFLIP bool "Vertical flip" default n + +endmenu + +source "Kconfig.zephyr" diff --git a/samples/drivers/video/capture_to_lvgl/sample.yaml b/samples/drivers/video/capture_to_lvgl/sample.yaml index 39d722403f8..64b2396a5e8 100644 --- a/samples/drivers/video/capture_to_lvgl/sample.yaml +++ b/samples/drivers/video/capture_to_lvgl/sample.yaml @@ -1,10 +1,21 @@ sample: name: Video capture to LVGL tests: - sample.video.capture_to_lvgl: + sample.video.capture_to_lvgl.shield.weact_ov2640_cam_module: tags: - video + - shield - samples + extra_args: SHIELD=weact_ov2640_cam_module + harness: console + harness_config: + fixture: fixture_camera + type: multi_line + ordered: true + regex: + - "Device name" + - "Format" + - "Capture started" platform_allow: - mini_stm32h743 depends_on: video