mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 06:58:11 +01:00
parent
761aae6f89
commit
5adadeaa07
3 changed files with 9 additions and 4 deletions
|
@ -17,7 +17,7 @@ from esphome.const import (
|
||||||
CONF_VSYNC_PIN,
|
CONF_VSYNC_PIN,
|
||||||
)
|
)
|
||||||
from esphome.core import CORE
|
from esphome.core import CORE
|
||||||
from esphome.components.esp32 import add_idf_sdkconfig_option
|
from esphome.components.esp32 import add_idf_component
|
||||||
from esphome.cpp_helpers import setup_entity
|
from esphome.cpp_helpers import setup_entity
|
||||||
|
|
||||||
DEPENDENCIES = ["esp32"]
|
DEPENDENCIES = ["esp32"]
|
||||||
|
@ -290,8 +290,11 @@ async def to_code(config):
|
||||||
cg.add_define("USE_ESP32_CAMERA")
|
cg.add_define("USE_ESP32_CAMERA")
|
||||||
|
|
||||||
if CORE.using_esp_idf:
|
if CORE.using_esp_idf:
|
||||||
cg.add_library("espressif/esp32-camera", "1.0.0")
|
add_idf_component(
|
||||||
add_idf_sdkconfig_option("CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC", True)
|
name="esp32-camera",
|
||||||
|
repo="https://github.com/espressif/esp32-camera.git",
|
||||||
|
ref="v2.0.9",
|
||||||
|
)
|
||||||
|
|
||||||
for conf in config.get(CONF_ON_STREAM_START, []):
|
for conf in config.get(CONF_ON_STREAM_START, []):
|
||||||
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
|
trigger = cg.new_Pvariable(conf[CONF_TRIGGER_ID], var)
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
esp-tflite-micro:
|
esp-tflite-micro:
|
||||||
git: https://github.com/espressif/esp-tflite-micro.git
|
git: https://github.com/espressif/esp-tflite-micro.git
|
||||||
|
esp32_camera:
|
||||||
|
git: https://github.com/espressif/esp32-camera.git
|
||||||
|
version: v2.0.9
|
||||||
mdns:
|
mdns:
|
||||||
git: https://github.com/espressif/esp-protocols.git
|
git: https://github.com/espressif/esp-protocols.git
|
||||||
version: mdns-v1.2.5
|
version: mdns-v1.2.5
|
||||||
|
|
|
@ -142,7 +142,6 @@ platform_packages =
|
||||||
framework = espidf
|
framework = espidf
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common:idf.lib_deps}
|
${common:idf.lib_deps}
|
||||||
espressif/esp32-camera@1.0.0 ; esp32_camera
|
|
||||||
droscy/esp_wireguard@0.4.1 ; wireguard
|
droscy/esp_wireguard@0.4.1 ; wireguard
|
||||||
build_flags =
|
build_flags =
|
||||||
${common:idf.build_flags}
|
${common:idf.build_flags}
|
||||||
|
|
Loading…
Reference in a new issue