mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 14:06:11 +08:00
Add camera CAMERA_MODEL_XIAO_ESP32S3 14
This commit is contained in:
parent
97508d9617
commit
b56148c895
@ -246,6 +246,7 @@ typedef uint ESP3DSettingIndex;
|
|||||||
#define CAMERA_MODEL_ESP32S2_CAM_BOARD 11
|
#define CAMERA_MODEL_ESP32S2_CAM_BOARD 11
|
||||||
#define CAMERA_MODEL_ESP32S3_CAM_LCD 12
|
#define CAMERA_MODEL_ESP32S3_CAM_LCD 12
|
||||||
#define CAMERA_MODEL_ESP32S3_EYE 13
|
#define CAMERA_MODEL_ESP32S3_EYE 13
|
||||||
|
#define CAMERA_MODEL_XIAO_ESP32S3 14
|
||||||
|
|
||||||
// Errors code
|
// Errors code
|
||||||
#define ESP_ERROR_AUTHENTICATION 1
|
#define ESP_ERROR_AUTHENTICATION 1
|
||||||
|
@ -357,6 +357,30 @@
|
|||||||
#define PCLK_GPIO_NUM 3
|
#define PCLK_GPIO_NUM 3
|
||||||
#endif // CAMERA_MODEL_ESP32S2_CAM_BOARD
|
#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
|
#if CAMERA_DEVICE == CAMERA_MODEL_ESP32S3_EYE
|
||||||
#define CAM_LED_PIN -1
|
#define CAM_LED_PIN -1
|
||||||
#define CAM_PULLUP1 -1
|
#define CAM_PULLUP1 -1
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define _VERSION_ESP3D_H
|
#define _VERSION_ESP3D_H
|
||||||
|
|
||||||
// version and sources location
|
// 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"
|
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
|
||||||
|
|
||||||
#endif //_VERSION_ESP3D_H
|
#endif //_VERSION_ESP3D_H
|
||||||
|
@ -377,6 +377,9 @@ const char *Camera::GetModelString() {
|
|||||||
case CAMERA_MODEL_AI_THINKER:
|
case CAMERA_MODEL_AI_THINKER:
|
||||||
return "ESP32 Cam";
|
return "ESP32 Cam";
|
||||||
break;
|
break;
|
||||||
|
case CAMERA_MODEL_XIAO_ESP32S3:
|
||||||
|
return "Xiao ESP32S3";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return "Unknow Camera";
|
return "Unknow Camera";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user