idf_component_register(SRCS "mipi_isp_dsi_main.c"
                       INCLUDE_DIRS "."
                       REQUIRES esp_mm esp_driver_isp esp_driver_cam esp_driver_i2c dsi_init esp_lcd_st7123 esp_driver_ppa esp_timer
                       )

# CSI diagnostics read a revision-dependent raw bridge register. GCC cannot
# prove that access is within the hardware register block represented by the
# typed structure.
set_source_files_properties(
    "mipi_isp_dsi_main.c"
    PROPERTIES COMPILE_OPTIONS "-Wno-error=array-bounds"
)
