pull/190/head
scgan 2021-11-10 11:34:50 +08:00
parent 60924895b8
commit 354c3ebc95
5 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ menu "ESP-WHO Configuration"
bool "ESP32-S2-Kaluga-1 V1.3"
config CAMERA_MODULE_ESP_S3_EYE
bool "ESP-S3-EYE DevKit"
config CAMERA_MODEL_ESP32_CAM_BOARD
config CAMERA_MODULE_ESP32_CAM_BOARD
bool "ESP32 Camera Development Board"
config CAMERA_MODULE_M5STACK_PSRAM
bool "M5Stack Camera With PSRAM"

View File

@ -23,7 +23,7 @@ void register_camera(const pixformat_t pixel_fromat,
{
ESP_LOGI(TAG, "Camera module is %s", CAMERA_MODULE_NAME);
#if CONFIG_CAMERA_MODEL_ESP_EYE || CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD
#if CONFIG_CAMERA_MODULE_ESP_EYE || CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD
/* IO13, IO14 is designed for JTAG by default,
* to use it as generalized input,
* firstly declair it as pullup input */

View File

@ -89,7 +89,7 @@
#define CAMERA_PIN_D6 17
#define CAMERA_PIN_D7 16
#elif CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD
#elif CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD
#define CAMERA_MODULE_NAME "ESP-DEVCAM"
#define CAMERA_PIN_PWDN 32
#define CAMERA_PIN_RESET 33

View File

@ -9,7 +9,7 @@ esp_err_t app_camera_init()
{
ESP_LOGI(TAG, "Camera module is %s", CAMERA_MODULE_NAME);
#if CONFIG_CAMERA_MODEL_ESP_EYE || CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD
#if CONFIG_CAMERA_MODULE_ESP_EYE || CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD
/* IO13, IO14 is designed for JTAG by default,
* to use it as generalized input,
* firstly declair it as pullup input */

View File

@ -92,7 +92,7 @@
#define CAMERA_PIN_D6 17
#define CAMERA_PIN_D7 16
#elif CONFIG_CAMERA_MODEL_ESP32_CAM_BOARD
#elif CONFIG_CAMERA_MODULE_ESP32_CAM_BOARD
#define CAMERA_MODULE_NAME "ESP-DEVCAM"
#define CAMERA_PIN_PWDN 32
#define CAMERA_PIN_RESET 33