forked from espressif/esp-idf
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'espressif:master' into master
- Loading branch information
Showing
212 changed files
with
5,484 additions
and
1,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
set(srcs "esp_cam_ctlr.c") | ||
idf_build_get_property(target IDF_TARGET) | ||
|
||
set(include "include" "interface") | ||
set(srcs "esp_cam_ctlr.c" "dvp_share_ctrl.c") | ||
|
||
set(includes "include" "interface") | ||
|
||
set(requires "esp_driver_isp") | ||
|
||
set(priv_requires "esp_driver_gpio") | ||
|
||
if(CONFIG_SOC_MIPI_CSI_SUPPORTED) | ||
list(APPEND srcs "csi/src/esp_cam_ctlr_csi.c") | ||
list(APPEND include "csi/include") | ||
list(APPEND includes "csi/include") | ||
endif() | ||
|
||
if(CONFIG_SOC_ISP_DVP_SUPPORTED) | ||
list(APPEND srcs "isp_dvp/src/esp_cam_ctlr_isp_dvp.c") | ||
list(APPEND includes "isp_dvp/include") | ||
endif() | ||
|
||
if(NOT ${target} STREQUAL "linux") | ||
list(APPEND requires esp_mm) | ||
endif() | ||
|
||
idf_component_register(SRCS ${srcs} | ||
INCLUDE_DIRS ${include} | ||
PRIV_REQUIRES esp_mm | ||
INCLUDE_DIRS ${includes} | ||
REQUIRES ${requires} | ||
PRIV_REQUIRES ${priv_requires} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
menu "ESP Camera Controller Configurations" | ||
menu "ESP-Driver:Camera Controller Configurations" | ||
|
||
depends on SOC_MIPI_CSI_SUPPORTED | ||
|
||
config MIPI_CSI_ISR_IRAM_SAFE | ||
config CAM_CTLR_MIPI_CSI_ISR_IRAM_SAFE | ||
bool "CSI ISR IRAM-Safe" | ||
default n | ||
select DW_GDMA_ISR_IRAM_SAFE | ||
select DW_GDMA_CTRL_FUNC_IN_IRAM | ||
select DW_GDMA_SETTER_FUNC_IN_IRAM | ||
select DW_GDMA_GETTER_FUNC_IN_IRAM | ||
help | ||
Ensure the CSI driver ISR is IRAM-Safe. When enabled, the ISR handler | ||
will be available when the cache is disabled. | ||
|
||
config CAM_CTLR_ISP_DVP_ISR_IRAM_SAFE | ||
bool "ISP_DVP ISR IRAM-Safe" | ||
default n | ||
select DW_GDMA_ISR_IRAM_SAFE | ||
select DW_GDMA_CTRL_FUNC_IN_IRAM | ||
select DW_GDMA_SETTER_FUNC_IN_IRAM | ||
select DW_GDMA_GETTER_FUNC_IN_IRAM | ||
help | ||
Ensure the ISP_DVP driver ISR is IRAM-Safe. When enabled, the ISR handler | ||
will be available when the cache is disabled. | ||
|
||
endmenu # ESP Camera Controller Configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.