Open
Description
Describe the bug
Problem
The color format in the capture_to_lvgl sample is incorrect when using the mini_stm32h743
board with the weact_ov2640_cam_module
module shield. The exact timing of when this regression was introduced is unknown.
This problem doesn't exist with stm32h7b3i_dk
and st_b_cams_omv_mb1683
.
Build command:
west build -p -b mini_stm32h743 --shield weact_ov2640_cam_module samples/drivers/video/capture_to_lvgl/ -- -DCONFIG_BOOT_DELAY=2000
Before fixing (incorrect colors):

Proposed solution
Disable CONFIG_LV_COLOR_16_SWAP for the mini_stm32h743 board to ensure proper color display in the capture_to_lvgl video sample.
After fixing (correct colors):

Notes
- The background transparency for CPU and FPS monitor is not good, but the core color format issue is resolved.
- This change is specific to the mini_stm32h743 board configuration.
Regression
- This is a regression.
Steps to reproduce
- Checkout to release: Zephyr 4.2.0-rc3
- west build -p -b mini_stm32h743 --shield weact_ov2640_cam_module samples/drivers/video/capture_to_lvgl/ -- -DCONFIG_BOOT_DELAY=2000
- west flash
- See the image
Relevant log output
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
- release: Zephyr 4.2.0-rc3
- Commit: 322da1d
- zephyr-sdk-0.16.8
Additional Context
No response