Add ESP32-S3 camera component selection and support (#1670)
Introduces a new esp32s3_camera implementation for ESP32-S3 boards using the esp_camera component, with conditional compilation and Kconfig options to select between esp_camera and esp_video. Updates board initialization code and config files to use the new camera class where appropriate, and adjusts build system and dependencies to support both camera components on ESP32-S3 and ESP32-P4 targets.
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
#pragma once
|
||||
#include "sdkconfig.h"
|
||||
// esp32_camera (使用 esp_video 组件) 用于 ESP32-P4,或 ESP32-S3 选择使用 esp_video 时
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32P4) || (defined(CONFIG_IDF_TARGET_ESP32S3) && defined(CONFIG_XIAOZHI_USE_ESP_VIDEO))
|
||||
|
||||
#ifndef CONFIG_IDF_TARGET_ESP32
|
||||
#include <lvgl.h>
|
||||
#include <thread>
|
||||
#include <memory>
|
||||
@ -53,4 +54,4 @@ public:
|
||||
virtual std::string Explain(const std::string& question);
|
||||
};
|
||||
|
||||
#endif // ndef CONFIG_IDF_TARGET_ESP32
|
||||
#endif // ndef CONFIG_IDF_TARGET_ESP32
|
||||
|
||||
Reference in New Issue
Block a user