Skip to content

Commit 7128e33

Browse files
CharlesDiasdleach02
authored andcommitted
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 <[email protected]>
1 parent 31093d2 commit 7128e33

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

samples/drivers/video/capture_to_lvgl/Kconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# Copyright (c) 2024 Charles Dias <[email protected]>
44
# SPDX-License-Identifier: Apache-2.0
55

6-
source "Kconfig.zephyr"
6+
mainmenu "Video capture to LVGL sample application"
7+
8+
menu "Video capture configuration"
79

810
config VIDEO_WIDTH
911
int "Define the width of the video"
@@ -20,3 +22,7 @@ config VIDEO_HFLIP
2022
config VIDEO_VFLIP
2123
bool "Vertical flip"
2224
default n
25+
26+
endmenu
27+
28+
source "Kconfig.zephyr"

samples/drivers/video/capture_to_lvgl/sample.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
11
sample:
22
name: Video capture to LVGL
33
tests:
4-
sample.video.capture_to_lvgl:
4+
sample.video.capture_to_lvgl.shield.weact_ov2640_cam_module:
55
tags:
66
- video
7+
- shield
78
- samples
9+
extra_args: SHIELD=weact_ov2640_cam_module
10+
harness: console
11+
harness_config:
12+
fixture: fixture_camera
13+
type: multi_line
14+
ordered: true
15+
regex:
16+
- "Device name"
17+
- "Format"
18+
- "Capture started"
819
platform_allow:
920
- mini_stm32h743
1021
depends_on: video

0 commit comments

Comments
 (0)