From 49b0325af1cf757ef91dbfc71923046060bd1366 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Sun, 22 Sep 2024 22:42:52 -0400 Subject: [PATCH] Add CONFIG_ESP32S3_EYE to examples/esp32s3 Also update README with Freenove board I used --- examples/esp32/README.md | 1 + examples/esp32/main/Kconfig.projbuild | 2 ++ examples/esp32/main/camera.c | 17 +++++++++++++++++ 3 files changed, 20 insertions(+) diff --git a/examples/esp32/README.md b/examples/esp32/README.md index f4f7298..3808751 100644 --- a/examples/esp32/README.md +++ b/examples/esp32/README.md @@ -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) || | [XIAO ESP32S3 Sense](https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/) || | [ESP32-EYE](https://github.com/espressif/esp-who/blob/master/docs/en/get-started/ESP-EYE_Getting_Started_Guide.md) || | [M5Camera](https://github.com/m5stack/M5Stack-Camera) || diff --git a/examples/esp32/main/Kconfig.projbuild b/examples/esp32/main/Kconfig.projbuild index 997b2ef..684c936 100644 --- a/examples/esp32/main/Kconfig.projbuild +++ b/examples/esp32/main/Kconfig.projbuild @@ -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 diff --git a/examples/esp32/main/camera.c b/examples/esp32/main/camera.c index 0d58448..d961bab 100644 --- a/examples/esp32/main/camera.c +++ b/examples/esp32/main/camera.c @@ -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