From e8ff923342958035229a71100d3dcc00acf771b9 Mon Sep 17 00:00:00 2001 From: gaoxu Date: Fri, 13 Jun 2025 18:20:28 +0800 Subject: [PATCH] fix(cam): fix camera kconfig about dw_gdma --- components/esp_driver_cam/Kconfig | 3 ++- .../esp_driver_cam/test_apps/dvp/sdkconfig.ci.cache_safe | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/esp_driver_cam/Kconfig b/components/esp_driver_cam/Kconfig index e162894c33..378c1d33da 100644 --- a/components/esp_driver_cam/Kconfig +++ b/components/esp_driver_cam/Kconfig @@ -1,6 +1,6 @@ menu "ESP-Driver:Camera Controller Configurations" - depends on SOC_MIPI_CSI_SUPPORTED || SOC_LCDCAM_CAM_SUPPORTED + depends on SOC_MIPI_CSI_SUPPORTED || SOC_ISP_DVP_SUPPORTED || SOC_LCDCAM_CAM_SUPPORTED config CAM_CTLR_MIPI_CSI_ISR_CACHE_SAFE bool "CSI ISR Cache-Safe" @@ -16,6 +16,7 @@ menu "ESP-Driver:Camera Controller Configurations" config CAM_CTLR_ISP_DVP_ISR_CACHE_SAFE # IDF-10093 bool "ISP_DVP ISR Cache-Safe" + depends on SOC_ISP_DVP_SUPPORTED default n select DW_GDMA_ISR_IRAM_SAFE select DW_GDMA_CTRL_FUNC_IN_IRAM diff --git a/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.cache_safe b/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.cache_safe index 6a7ded982f..97180e808b 100644 --- a/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.cache_safe +++ b/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.cache_safe @@ -1 +1,7 @@ -CONFIG_CAM_CTLR_MIPI_CSI_ISR_CACHE_SAFE=y +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +# silent the error check, as the error string are stored in rodata, causing RTL check failure +CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y +CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y +CONFIG_HAL_ASSERTION_SILENT=y + +CONFIG_CAM_CTLR_DVP_CAM_ISR_CACHE_SAFE=y