Skip to content

Commit cb237fc

Browse files
committed
samples: drivers: video: capture: add FRDM-MCXN947
Add FRDM-MCXN947 to the video capture sample documentation and twister YAML configuration, using the DVP OV7670 camera module newly introduced. Signed-off-by: Josuah Demangeon <me@josuah.net>
1 parent 143d501 commit cb237fc

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

samples/drivers/video/capture/README.rst

+14-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ Supported camera modules on some i.MX RT boards can be found below.
1919
- `Camera iMXRT`_
2020

2121
- :zephyr:board:`mimxrt1064_evk`
22-
- `MT9M114 camera module`_
22+
with a `MT9M114 camera module`_
2323

2424
- :zephyr:board:`mimxrt1170_evk`
25-
- `OV5640 camera module`_
25+
with an `OV5640 camera module`_
26+
27+
- :zephyr:board:`frdm_mcxn947`
28+
with any ``arducam,dvp-20pin-connector`` camera module such as :ref:`dvp_20pin_ov7670`.
2629

2730
Also :zephyr:board:`arduino_nicla_vision` can be used in this sample as capture device, in that case
2831
The user can transfer the captured frames through on board USB.
@@ -70,6 +73,15 @@ commands:
7073
:goals: build
7174
:compact:
7275

76+
For :zephyr:board:`frdm_mcxn947`, build this sample application with the following commands:
77+
78+
.. zephyr-app-commands::
79+
:zephyr-app: samples/drivers/video/capture
80+
:board: frdm_mcxn947/mcxn947/cpu0
81+
:shield: dvp_20pin_ov7670
82+
:goals: build
83+
:compact:
84+
7385
For testing purpose without the need of any real video capture and/or display hardwares,
7486
a video software pattern generator is supported by the above build commands without
7587
specifying the shields.

samples/drivers/video/capture/sample.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tests:
1010
- platform:mimxrt1064_evk:SHIELD="dvp_fpc24_mt9m114;rk043fn66hs_ctg"
1111
- platform:mimxrt1170_evk/mimxrt1176/cm7:SHIELD="nxp_btb44_ov5640;rk055hdmipi4ma0"
1212
- platform:mimxrt1170_evk@B/mimxrt1176/cm7:SHIELD="nxp_btb44_ov5640;rk055hdmipi4ma0"
13+
- platform:frdm_mcxn947/mcxn947/cpu0:SHIELD="dvp_20pin_ov7670"
1314
extra_configs:
1415
- CONFIG_TEST=y
1516
- CONFIG_FPU=y
@@ -28,6 +29,7 @@ tests:
2829
- mimxrt1064_evk
2930
- mimxrt1170_evk/mimxrt1176/cm7
3031
- mimxrt1170_evk@B/mimxrt1176/cm7
32+
- frdm_mcxn947/mcxn947/cpu0
3133
- mm_swiftio
3234
- esp32s3_eye/esp32s3/procpu
3335
depends_on: video

0 commit comments

Comments
 (0)