File tree Expand file tree Collapse file tree 6 files changed +286
-70
lines changed Expand file tree Collapse file tree 6 files changed +286
-70
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ tests:
111
111
- platform:frdm_mcxn236/mcxn236:SHIELD=lcd_par_s035_8080
112
112
- platform:frdm_mcxa156/mcxa156:SHIELD=lcd_par_s035_8080
113
113
- platform:frdm_rw612:SHIELD=lcd_par_s035_spi
114
+ - platform:rd_rw612_bga:SHIELD=lcd_par_s035_spi
114
115
- platform:ek_ra8d1:SHIELD=rtkmipilcdb00000be
115
116
- platform:ek_ra8d1:SHIELD=rtk7eka6m3b00001bu
116
117
- platform:nucleo_g071rb/stm32g071xx:SHIELD=x_nucleo_gfx01m2
Original file line number Diff line number Diff line change
1
+ CONFIG_UHC_DRIVER=y
2
+ CONFIG_USB_HOST_STACK=y
3
+ CONFIG_USBH_VIDEO_CLASS=y
4
+
5
+ # Video buffer configuration
6
+ CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=60000
7
+ CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=1
8
+ CONFIG_VIDEO_BUFFER_POOL_ALIGN=32
9
+
10
+
11
+ # Memory configuration for USB transfers
12
+ CONFIG_HEAP_MEM_POOL_SIZE=70000
13
+ CONFIG_MAIN_STACK_SIZE=80960
14
+ CONFIG_USBH_USB_DEVICE_HEAP=8912
15
+ CONFIG_UHC_BUF_POOL_SIZE=4096
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2025 NXP
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ / {
8
+ uvc_host: uvc_host {
9
+ compatible = "zephyr,uvc-host";
10
+ };
11
+ };
Original file line number Diff line number Diff line change 1
- CONFIG_VIDEO=y
1
+ CONFIG_POLL=y
2
+ CONFIG_EVENTS=y
2
3
CONFIG_SHELL=y
3
4
CONFIG_DEVICE_SHELL=y
5
+ CONFIG_VIDEO=y
6
+ CONFIG_USB_HOST_STACK=y
4
7
CONFIG_PRINTK=y
5
8
CONFIG_LOG=y
6
9
CONFIG_DISPLAY=y
7
10
CONFIG_REQUIRES_FLOAT_PRINTF=y
8
- CONFIG_LOG_MODE_DEFERRED=y
11
+ CONFIG_DEBUG_OPTIMIZATIONS=y
12
+ CONFIG_USBH_VIDEO_LOG_LEVEL_WRN=y
13
+ CONFIG_VIDEO_FRAME_WIDTH=176
14
+ CONFIG_VIDEO_FRAME_HEIGHT=144
Original file line number Diff line number Diff line change 4
4
sample.video.capture :
5
5
tags :
6
6
- video
7
+ - usb
7
8
- shield
8
9
- samples
9
10
extra_args :
@@ -13,9 +14,11 @@ tests:
13
14
- platform:frdm_mcxn947/mcxn947/cpu0:SHIELD="dvp_20pin_ov7670;lcd_par_s035_8080"
14
15
- platform:frdm_mcxn236/mcxn236:SHIELD="dvp_20pin_ov7670;lcd_par_s035_8080"
15
16
- platform:stm32h7b3i_dk:SHIELD="st_b_cams_omv_mb1683"
17
+ - platform:rd_rw612_bga/rw612:SHIELD="usb_camera;lcd_par_s035_8080"
16
18
extra_configs :
17
19
- CONFIG_TEST=y
18
20
- CONFIG_FPU=y
21
+ - CONFIG_USB_HOST=y
19
22
harness : console
20
23
harness_config :
21
24
fixture : fixture_camera
@@ -31,15 +34,19 @@ tests:
31
34
- mimxrt1064_evk/mimxrt1064
32
35
- mimxrt1170_evk/mimxrt1176/cm7
33
36
- mimxrt1170_evk@B/mimxrt1176/cm7
37
+ - rd_rw612_bga/rw612
34
38
- frdm_mcxn947/mcxn947/cpu0
35
39
- frdm_mcxn236/mcxn236
36
40
- mm_swiftio
37
41
- esp32s3_eye/esp32s3/procpu
38
42
- stm32h7b3i_dk
39
- depends_on : video
43
+ depends_on :
44
+ - video
45
+ - usbh
40
46
integration_platforms :
41
47
- mimxrt1064_evk/mimxrt1064
42
48
- mimxrt1170_evk/mimxrt1176/cm7
49
+ - rd_rw612_bga/rw612
43
50
sample.video.capture.shell :
44
51
tags :
45
52
- video
You can’t perform that action at this time.
0 commit comments