-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/supported_camera_sc2336_lcd_ek79007_v5.3' into 're…
…lease/v5.3' camera: supported camera related example using sc2336 and ek79007 (v5.3) See merge request espressif/esp-idf!33636
- Loading branch information
Showing
24 changed files
with
357 additions
and
213 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
23 changes: 23 additions & 0 deletions
23
examples/peripherals/camera/camera_dsi/components/dsi_init/Kconfig.projbuild
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,25 +1,48 @@ | ||
menu "Example DSI Configuration" | ||
|
||
choice EXAMPLE_LCD_PATTERN | ||
prompt "Select MIPI LCD model" | ||
default EXAMPLE_LCD_PATTERN_EK79007 | ||
help | ||
Select LCD controller model. | ||
|
||
config EXAMPLE_LCD_PATTERN_EK79007 | ||
bool "EK79007" | ||
config EXAMPLE_LCD_PATTERN_ILI9881C | ||
bool "ILI9881C" | ||
endchoice | ||
|
||
choice EXAMPLE_MIPI_DSI_DISP_HRES | ||
bool "Set MIPI CSI horizontal resolution" | ||
default EXAMPLE_MIPI_DSI_DISP_HRES_800 if EXAMPLE_LCD_PATTERN_ILI9881C | ||
default EXAMPLE_MIPI_DSI_DISP_HRES_1024 if EXAMPLE_LCD_PATTERN_EK79007 | ||
default EXAMPLE_MIPI_DSI_DISP_HRES_800 | ||
|
||
config EXAMPLE_MIPI_DSI_DISP_HRES_800 | ||
bool "800" | ||
config EXAMPLE_MIPI_DSI_DISP_HRES_1024 | ||
bool "1024" | ||
endchoice | ||
|
||
config EXAMPLE_MIPI_DSI_DISP_HRES | ||
int | ||
default 800 if EXAMPLE_MIPI_DSI_DISP_HRES_800 | ||
default 1024 if EXAMPLE_MIPI_DSI_DISP_HRES_1024 | ||
|
||
choice EXAMPLE_MIPI_DSI_DISP_VRES | ||
bool "Set MIPI CSI vertical resolution" | ||
default EXAMPLE_MIPI_DSI_DISP_VRES_1280 if EXAMPLE_LCD_PATTERN_ILI9881C | ||
default EXAMPLE_MIPI_DSI_DISP_VRES_600 if EXAMPLE_LCD_PATTERN_EK79007 | ||
default EXAMPLE_MIPI_DSI_DISP_VRES_1280 | ||
|
||
config EXAMPLE_MIPI_DSI_DISP_VRES_600 | ||
bool "600" | ||
config EXAMPLE_MIPI_DSI_DISP_VRES_1280 | ||
bool "1280" | ||
endchoice | ||
|
||
config EXAMPLE_MIPI_DSI_DISP_VRES | ||
int | ||
default 600 if EXAMPLE_MIPI_DSI_DISP_VRES_600 | ||
default 1280 if EXAMPLE_MIPI_DSI_DISP_VRES_1280 | ||
endmenu |
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
3 changes: 2 additions & 1 deletion
3
examples/peripherals/camera/camera_dsi/components/dsi_init/idf_component.yml
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,4 +1,5 @@ | ||
dependencies: | ||
esp_lcd_ili9881c: "~0.2.0" | ||
esp_lcd_ili9881c: "^1.0.0" | ||
esp_lcd_ek79007: "^1.0.0" | ||
idf: | ||
version: ">=5.3.0" |
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
3 changes: 3 additions & 0 deletions
3
examples/peripherals/camera/camera_dsi/components/sensor_init/CMakeLists.txt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
idf_component_register(SRCS "example_sensor_init.c" | ||
INCLUDE_DIRS "include" | ||
) |
Oops, something went wrong.