diff --git a/components/esp_driver_cam/test_apps/csi/pytest_csi.py b/components/esp_driver_cam/test_apps/csi/pytest_csi.py index e01cf5d86c9..51d788d67df 100644 --- a/components/esp_driver_cam/test_apps/csi/pytest_csi.py +++ b/components/esp_driver_cam/test_apps/csi/pytest_csi.py @@ -8,7 +8,7 @@ from pytest_embedded_idf.utils import idf_parametrize @pytest.mark.generic @pytest.mark.parametrize( 'config', - ['cache_safe', 'release', 'pm_enable'], + ['cache_safe', 'release'], indirect=True, ) @idf_parametrize('target', ['esp32p4'], indirect=['target']) diff --git a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.cache_safe b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.cache_safe index 6a7ded982f3..edd91f201cb 100644 --- a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.cache_safe +++ b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.cache_safe @@ -1 +1,9 @@ +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_MIPI_CSI_ISR_CACHE_SAFE=y +CONFIG_CAM_CTLR_ISP_DVP_ISR_CACHE_SAFE=y +CONFIG_CAM_CTLR_DVP_CAM_ISR_CACHE_SAFE=y diff --git a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.pm_enable b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.pm_enable index 918a1c0ef10..3d9291ddeda 100644 --- a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.pm_enable +++ b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.pm_enable @@ -2,7 +2,3 @@ CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y CONFIG_HAL_ASSERTION_SILENT=y - -CONFIG_PM_ENABLE=y -CONFIG_FREERTOS_USE_TICKLESS_IDLE=y -CONFIG_PM_DFS_INIT_AUTO=y diff --git a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.release b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.release index 3cff15d49e2..1eb2b05fc20 100644 --- a/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.release +++ b/components/esp_driver_cam/test_apps/csi/sdkconfig.ci.release @@ -1,3 +1,7 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y + +CONFIG_PM_ENABLE=y +CONFIG_FREERTOS_USE_TICKLESS_IDLE=y +CONFIG_PM_DFS_INIT_AUTO=y diff --git a/components/esp_driver_cam/test_apps/dvp/pytest_dvp.py b/components/esp_driver_cam/test_apps/dvp/pytest_dvp.py index 7e15807406a..69ad75977fc 100644 --- a/components/esp_driver_cam/test_apps/dvp/pytest_dvp.py +++ b/components/esp_driver_cam/test_apps/dvp/pytest_dvp.py @@ -8,7 +8,7 @@ from pytest_embedded_idf.utils import idf_parametrize @pytest.mark.generic @pytest.mark.parametrize( 'config', - ['cache_safe'], + ['cache_safe', 'release'], indirect=True, ) @idf_parametrize('target', ['esp32p4'], indirect=['target']) 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 97180e808b1..edd91f201cb 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 @@ -4,4 +4,6 @@ CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y CONFIG_HAL_ASSERTION_SILENT=y +CONFIG_CAM_CTLR_MIPI_CSI_ISR_CACHE_SAFE=y +CONFIG_CAM_CTLR_ISP_DVP_ISR_CACHE_SAFE=y CONFIG_CAM_CTLR_DVP_CAM_ISR_CACHE_SAFE=y diff --git a/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.release b/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.release new file mode 100644 index 00000000000..1eb2b05fc20 --- /dev/null +++ b/components/esp_driver_cam/test_apps/dvp/sdkconfig.ci.release @@ -0,0 +1,7 @@ +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y + +CONFIG_PM_ENABLE=y +CONFIG_FREERTOS_USE_TICKLESS_IDLE=y +CONFIG_PM_DFS_INIT_AUTO=y diff --git a/components/esp_driver_cam/test_apps/isp_dvp/pytest_isp_dvp.py b/components/esp_driver_cam/test_apps/isp_dvp/pytest_isp_dvp.py index 211e25d4de3..1015e2502cc 100644 --- a/components/esp_driver_cam/test_apps/isp_dvp/pytest_isp_dvp.py +++ b/components/esp_driver_cam/test_apps/isp_dvp/pytest_isp_dvp.py @@ -6,6 +6,11 @@ from pytest_embedded_idf.utils import idf_parametrize @pytest.mark.generic +@pytest.mark.parametrize( + 'config', + ['cache_safe', 'release'], + indirect=True, +) @idf_parametrize('target', ['esp32p4'], indirect=['target']) def test_isp_dvp(dut: Dut) -> None: dut.run_all_single_board_cases() diff --git a/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.cache_safe b/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.cache_safe index 6a7ded982f3..edd91f201cb 100644 --- a/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.cache_safe +++ b/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.cache_safe @@ -1 +1,9 @@ +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_MIPI_CSI_ISR_CACHE_SAFE=y +CONFIG_CAM_CTLR_ISP_DVP_ISR_CACHE_SAFE=y +CONFIG_CAM_CTLR_DVP_CAM_ISR_CACHE_SAFE=y diff --git a/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.release b/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.release new file mode 100644 index 00000000000..1eb2b05fc20 --- /dev/null +++ b/components/esp_driver_cam/test_apps/isp_dvp/sdkconfig.ci.release @@ -0,0 +1,7 @@ +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y + +CONFIG_PM_ENABLE=y +CONFIG_FREERTOS_USE_TICKLESS_IDLE=y +CONFIG_PM_DFS_INIT_AUTO=y