Skip to content

Conversation

@djiatsaf-st
Copy link
Contributor

After the addition of #97425

The following build error occurs:

devicetree error: zephyrproject/zephyr/boards/shields/st_b_cams_imx_mb1854/st_b_cams_imx_mb1854.overlay:23 (column 1): parse error: undefined node label 'csi_interface' 

CMake Error at cmake/modules/dts.cmake:306 (execute_process): 

execute_process failed command indexes: 

All boards that have usbd support present in <board_name>.yaml will attempt to run sample scenarios sample.subsys.usb.uvc.encoder.h264 and sample.subsys.usb.uvc.encoder.jpeg with SHIELD st_b_cams_imx_mb1854 added/combined to it even if there is a no dcmipp node in dts which I believe causes this error.

Non-exhaustive list of affected boards:
b_u585i_iot02a, disco_l475_iot1, nucleo_c071rb, nucleo_f207zg, nucleo_f429zi , nucleo_u385rg_q, nucleo_wb55rg, stm32h573i_dk , stm32h7s78_dk

Added `platform_allow` for `stm32n6570_dk/stm32n657xx/sb` to ensure
the JPEG and h264 encoder scenarios only run on compatible boards
with CSI interface support. This avoids build errors on unsupported
platforms.

Signed-off-by: Fabrice DJIATSA <[email protected]>
@sonarqubecloud
Copy link

@djiatsaf-st
Copy link
Contributor Author

Plan to close due to #98363

@JarmouniA JarmouniA added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 28, 2025
@JarmouniA JarmouniA added this to the v4.3.0 milestone Oct 28, 2025
@JarmouniA
Copy link
Contributor

JarmouniA commented Oct 28, 2025

Plan to close due to #98363

No, this is needed as well, see #98363 (comment)

@djiatsaf-st
Copy link
Contributor Author

Plan to close due to #98363

No, this is needed as well, see #98363 (comment)

Yes
Thanks !

Copy link
Contributor

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #98363

@jfischer-no jfischer-no removed the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Samples Samples area: USB Universal Serial Bus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants