Add camera CAMERA_MODEL_XIAO_ESP32S3 14

This commit is contained in:
Luc 2024-02-11 13:27:59 +08:00
parent 97508d9617
commit b56148c895
4 changed files with 29 additions and 1 deletions

View File

@ -246,6 +246,7 @@ typedef uint ESP3DSettingIndex;
#define CAMERA_MODEL_ESP32S2_CAM_BOARD 11
#define CAMERA_MODEL_ESP32S3_CAM_LCD 12
#define CAMERA_MODEL_ESP32S3_EYE 13
#define CAMERA_MODEL_XIAO_ESP32S3 14
// Errors code
#define ESP_ERROR_AUTHENTICATION 1

View File

@ -357,6 +357,30 @@
#define PCLK_GPIO_NUM 3
#endif // CAMERA_MODEL_ESP32S2_CAM_BOARD
#if CAMERA_DEVICE == CAMERA_MODEL_XIAO_ESP32S3
#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 40
#define SIOC_GPIO_NUM 39
#define Y9_GPIO_NUM 48
#define Y8_GPIO_NUM 11
#define Y7_GPIO_NUM 12
#define Y6_GPIO_NUM 14
#define Y5_GPIO_NUM 16
#define Y4_GPIO_NUM 18
#define Y3_GPIO_NUM 17
#define Y2_GPIO_NUM 15
#define VSYNC_GPIO_NUM 38
#define HREF_GPIO_NUM 47
#define PCLK_GPIO_NUM 13
#define CAM_LED_PIN -1
#endif // CAMERA_MODEL_XIAO_ESP32S3
#if CAMERA_DEVICE == CAMERA_MODEL_ESP32S3_EYE
#define CAM_LED_PIN -1
#define CAM_PULLUP1 -1

View File

@ -22,7 +22,7 @@
#define _VERSION_ESP3D_H
// version and sources location
#define FW_VERSION "3.0.0.a229"
#define FW_VERSION "3.0.0.a230"
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
#endif //_VERSION_ESP3D_H

View File

@ -377,6 +377,9 @@ const char *Camera::GetModelString() {
case CAMERA_MODEL_AI_THINKER:
return "ESP32 Cam";
break;
case CAMERA_MODEL_XIAO_ESP32S3:
return "Xiao ESP32S3";
break;
default:
return "Unknow Camera";
}