Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CONFIG_ESP32S3_EYE to examples/esp32s3 #141

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This guide demonstrates how to stream JPEG images over a WebRTC data channel usi
## Supported Devices
| Device |Image|
|---|---|
| [Freenove ESP32-S3-WROOM Board](https://store.freenove.com/products/fnk0085) |<img src="https://store.freenove.com/cdn/shop/files/FNK0085.MAIN.jpg" width="64">|
| [XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/) |<img src="https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32S3/img/xiaoesp32s3sense.jpg" width="64">|
| [ESP32-EYE](https://github.com/espressif/esp-who/blob/master/docs/en/get-started/ESP-EYE_Getting_Started_Guide.md) |<img src="https://www.espressif.com/sites/default/files/esp-eye-2-190116.png" width="64">|
| [M5Camera](https://github.com/m5stack/M5Stack-Camera) |<img src="https://static-cdn.m5stack.com/resource/docs/products/unit/m5camera/m5camera_01.webp" width="64">|
Expand Down
2 changes: 2 additions & 0 deletions examples/esp32/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ menu "ESP32 Hardware Configuration"
Select the camera model to use.
config ESP32_EYE
bool "ESP32-EYE"
config ESP32S3_EYE
bool "ESP32S3-EYE"
config ESP32_M5STACK_CAMERA_B
bool "M5STACK-CAMERA-B"
config ESP32S3_XIAO_SENSE
Expand Down
17 changes: 17 additions & 0 deletions examples/esp32/main/camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@ static const char* TAG = "Camera";
#define CAM_PIN_VSYNC 25
#define CAM_PIN_HREF 26
#define CAM_PIN_PCLK 21
#elif defined(CONFIG_ESP32S3_EYE)
#define CAM_PIN_PWDN -1
#define CAM_PIN_RESET -1
#define CAM_PIN_XCLK 15
#define CAM_PIN_SIOD 4
#define CAM_PIN_SIOC 5
#define CAM_PIN_D7 16
#define CAM_PIN_D6 17
#define CAM_PIN_D5 18
#define CAM_PIN_D4 12
#define CAM_PIN_D3 10
#define CAM_PIN_D2 8
#define CAM_PIN_D1 9
#define CAM_PIN_D0 11
#define CAM_PIN_VSYNC 6
#define CAM_PIN_HREF 7
#define CAM_PIN_PCLK 13
#else // ESP32-EYE
#define CAM_PIN_PWDN -1
#define CAM_PIN_RESET -1
Expand Down