feat(isp_dvp): add SC030IOT camera support to dvp_isp_dsi example

This commit is contained in:
Song Ruo Jing
2025-07-02 17:46:46 +08:00
committed by gaoxu
parent e7899b1d61
commit ca3f313938
12 changed files with 103 additions and 39 deletions
@@ -45,4 +45,11 @@ menu "Example DSI Configuration"
int
default 600 if EXAMPLE_MIPI_DSI_DISP_VRES_600
default 1280 if EXAMPLE_MIPI_DSI_DISP_VRES_1280
config EXAMPLE_MIPI_DSI_DISP_USE_DMA2D
bool "Use DMA2D to copy data to frame buffer"
default n
help
Enable this option, DMA2D will be used to copy data to the target frame buffer.
This can save some CPU time and improve the performance.
endmenu
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -13,6 +13,7 @@
#include "esp_lcd_ek79007.h"
#include "example_dsi_init.h"
#include "example_dsi_init_config.h"
#include "sdkconfig.h"
void example_dsi_resource_alloc(esp_lcd_dsi_bus_handle_t *mipi_dsi_bus, esp_lcd_panel_io_handle_t *mipi_dbi_io, esp_lcd_panel_handle_t *mipi_dpi_panel, void **frame_buffer)
{
@@ -47,6 +48,9 @@ void example_dsi_resource_alloc(esp_lcd_dsi_bus_handle_t *mipi_dsi_bus, esp_lcd_
.vsync_pulse_width = EXAMPLE_MIPI_DSI_IMAGE_VSYNC,
.vsync_front_porch = EXAMPLE_MIPI_DSI_IMAGE_VFP,
},
#if CONFIG_EXAMPLE_MIPI_DSI_DISP_USE_DMA2D
.flags.use_dma2d = true,
#endif
};
#if CONFIG_EXAMPLE_LCD_PATTERN_ILI9881C