Merge branch 'feat/p4_eco5_dvp_v5.4' into 'release/v5.4'

feat(cam): support esp32p4 eco5 dvp cam (v5.4)

See merge request espressif/esp-idf!43642
This commit is contained in:
morris
2026-04-24 12:12:36 +08:00
5 changed files with 51 additions and 5 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ void cam_hal_init(cam_hal_context_t *hal, const cam_hal_config_t *config)
cam_ll_enable_stop_signal(hal->hw, 0);
cam_ll_swap_dma_data_byte_order(hal->hw, config->byte_swap_en);
cam_ll_reverse_dma_data_bit_order(hal->hw, 0);
cam_ll_reverse_dma_data_bit_order(hal->hw, config->bit_swap_en);
cam_ll_enable_vsync_generate_eof(hal->hw, 1);
cam_hal_set_line_int_num(hal, 0);
+2
View File
@@ -28,6 +28,8 @@ typedef struct cam_hal_context {
*/
typedef struct cam_hal_config {
int port; /*!< CAM port */
uint32_t cam_data_width; /*!< CAM data width, 8 or 16 or 24 bit, default to 8 */
bool bit_swap_en; /*!< CAM enable bit swap */
bool byte_swap_en; /*!< CAM enable byte swap */
} cam_hal_config_t;