Add support for the wide M5Stack Camera and clarify the static IP option

pull/55/head
me-no-dev 2019-04-10 20:43:38 +02:00
parent 0e19bc95b0
commit 18c96a19ef
2 changed files with 24 additions and 1 deletions

View File

@ -26,8 +26,10 @@ config ESP_WIFI_AP_PASSWORD
AP password for WPA2 or empty for Open. AP password for WPA2 or empty for Open.
config SERVER_IP config SERVER_IP
string "IP address of server" string "WiFi AP IP Address"
default "192.168.4.1" default "192.168.4.1"
help
IP address that the ESP will assign to it's AP interface. You can use this IP to connect to the camera after flashing.
config ESP_MAXIMUM_RETRY config ESP_MAXIMUM_RETRY
int "Maximum retry" int "Maximum retry"
@ -49,6 +51,8 @@ config CAMERA_MODEL_ESP_EYE
bool "ESP_EYE DevKit" 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_M5STACK_WIDE
bool "M5Stack Camera F (Wide)"
config CAMERA_MODEL_AI_THINKER config CAMERA_MODEL_AI_THINKER
bool "ESP32-CAM by AI-Thinker" bool "ESP32-CAM by AI-Thinker"
config CAMERA_MODEL_CUSTOM config CAMERA_MODEL_CUSTOM

View File

@ -81,6 +81,25 @@
#define HREF_GPIO_NUM 26 #define HREF_GPIO_NUM 26
#define PCLK_GPIO_NUM 21 #define PCLK_GPIO_NUM 21
#elif CONFIG_CAMERA_MODEL_M5STACK_WIDE
#define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM 15
#define XCLK_GPIO_NUM 27
#define SIOD_GPIO_NUM 22
#define SIOC_GPIO_NUM 23
#define Y9_GPIO_NUM 19
#define Y8_GPIO_NUM 36
#define Y7_GPIO_NUM 18
#define Y6_GPIO_NUM 39
#define Y5_GPIO_NUM 5
#define Y4_GPIO_NUM 34
#define Y3_GPIO_NUM 35
#define Y2_GPIO_NUM 32
#define VSYNC_GPIO_NUM 25
#define HREF_GPIO_NUM 26
#define PCLK_GPIO_NUM 21
#elif CONFIG_CAMERA_MODEL_AI_THINKER #elif CONFIG_CAMERA_MODEL_AI_THINKER
#define PWDN_GPIO_NUM 32 #define PWDN_GPIO_NUM 32
#define RESET_GPIO_NUM -1 #define RESET_GPIO_NUM -1