camera_web_server: add ESP_EYE camera pin configuration option

pull/55/head
Stephen Casner 2019-01-14 16:27:39 -08:00 committed by XiaochaoGONG
parent b80f01f691
commit 0927f69369
2 changed files with 21 additions and 0 deletions

View File

@ -45,6 +45,8 @@ choice CAMERA_MODEL
config CAMERA_MODEL_WROVER_KIT config CAMERA_MODEL_WROVER_KIT
bool "WROVER-KIT With OV2640 Module" bool "WROVER-KIT With OV2640 Module"
config CAMERA_MODEL_ESP_EYE
bool "ESP_EYE DevKit"
config CAMERA_MODEL_M5STACK_PSRAM config CAMERA_MODEL_M5STACK_PSRAM
bool "M5Stack Camera With PSRAM" bool "M5Stack Camera With PSRAM"
config CAMERA_MODEL_AI_THINKER config CAMERA_MODEL_AI_THINKER

View File

@ -43,6 +43,25 @@
#define HREF_GPIO_NUM 23 #define HREF_GPIO_NUM 23
#define PCLK_GPIO_NUM 22 #define PCLK_GPIO_NUM 22
#elif CONFIG_CAMERA_MODEL_ESP_EYE
#define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM -1
#define XCLK_GPIO_NUM 4
#define SIOD_GPIO_NUM 18
#define SIOC_GPIO_NUM 23
#define Y9_GPIO_NUM 36
#define Y8_GPIO_NUM 37
#define Y7_GPIO_NUM 38
#define Y6_GPIO_NUM 39
#define Y5_GPIO_NUM 35
#define Y4_GPIO_NUM 14
#define Y3_GPIO_NUM 13
#define Y2_GPIO_NUM 34
#define VSYNC_GPIO_NUM 5
#define HREF_GPIO_NUM 27
#define PCLK_GPIO_NUM 25
#elif CONFIG_CAMERA_MODEL_M5STACK_PSRAM #elif CONFIG_CAMERA_MODEL_M5STACK_PSRAM
#define PWDN_GPIO_NUM -1 #define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM 15 #define RESET_GPIO_NUM 15