From 26b65214dc71e667523410ff2e184ba15de36bf9 Mon Sep 17 00:00:00 2001 From: Fabrice DJIATSA Date: Mon, 27 Oct 2025 15:13:17 +0100 Subject: [PATCH] samples: subsys: usb: uvc: update sample scenarios 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 --- samples/subsys/usb/uvc/sample.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/subsys/usb/uvc/sample.yaml b/samples/subsys/usb/uvc/sample.yaml index 5000b964f509c..ea43bd54d2ae1 100644 --- a/samples/subsys/usb/uvc/sample.yaml +++ b/samples/subsys/usb/uvc/sample.yaml @@ -37,6 +37,8 @@ tests: - EXTRA_DTC_OVERLAY_FILE="app_h264enc.overlay" - SHIELD=st_b_cams_imx_mb1854 filter: dt_chosen_enabled("zephyr,camera") + platform_allow: + - stm32n6570_dk/stm32n657xx/sb integration_platforms: - stm32n6570_dk/stm32n657xx/sb sample.subsys.usb.uvc.encoder.jpeg: @@ -49,5 +51,7 @@ tests: - EXTRA_DTC_OVERLAY_FILE="app_jpegenc.overlay" - SHIELD=st_b_cams_imx_mb1854 filter: dt_chosen_enabled("zephyr,camera") + platform_allow: + - stm32n6570_dk/stm32n657xx/sb integration_platforms: - stm32n6570_dk/stm32n657xx/sb