Add UICPAL ESP32S3 Camera pins (#1004)

This commit is contained in:
Levak 2024-03-03 00:06:38 +01:00 committed by GitHub
parent b1d5192802
commit 6b9f57bde0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 0 deletions

View File

@ -247,6 +247,7 @@ typedef uint ESP3DSettingIndex;
#define CAMERA_MODEL_ESP32S3_CAM_LCD 12
#define CAMERA_MODEL_ESP32S3_EYE 13
#define CAMERA_MODEL_XIAO_ESP32S3 14
#define CAMERA_MODEL_UICPAL_ESP32S3 15
// Errors code
#define ESP_ERROR_AUTHENTICATION 1

View File

@ -381,6 +381,30 @@
#define CAM_LED_PIN -1
#endif // CAMERA_MODEL_XIAO_ESP32S3
#if CAMERA_DEVICE == CAMERA_MODEL_UICPAL_ESP32S3
#define CAM_LED_PIN -1
#define CAM_PULLUP1 -1
#define CAM_PULLUP2 -1
#define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM -1
#define XCLK_GPIO_NUM 10
#define SIOD_GPIO_NUM 21
#define SIOC_GPIO_NUM 14
#define Y2_GPIO_NUM 5
#define Y3_GPIO_NUM 3
#define Y4_GPIO_NUM 2
#define Y5_GPIO_NUM 4
#define Y6_GPIO_NUM 6
#define Y7_GPIO_NUM 8
#define Y8_GPIO_NUM 9
#define Y9_GPIO_NUM 11
#define VSYNC_GPIO_NUM 13
#define HREF_GPIO_NUM 12
#define PCLK_GPIO_NUM 7
#endif // CAMERA_MODEL_UICPAL_ESP32S3
#if CAMERA_DEVICE == CAMERA_MODEL_ESP32S3_EYE
#define CAM_LED_PIN -1
#define CAM_PULLUP1 -1

View File

@ -380,6 +380,9 @@ const char *Camera::GetModelString() {
case CAMERA_MODEL_XIAO_ESP32S3:
return "Xiao ESP32S3";
break;
case CAMERA_MODEL_UICPAL_ESP32S3:
return "UICPAL ESP32S3";
break;
default:
return "Unknow Camera";
}