[esp32] Update IDF components to use the registry (#9223)

This commit is contained in:
Jonathan Swoboda 2025-06-26 23:37:30 -04:00 committed by GitHub
parent 61dfd5541f
commit 1f94e4cc14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 28 deletions

View File

@ -310,11 +310,7 @@ 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:
add_idf_component( add_idf_component(name="espressif/esp32-camera", ref="2.0.15")
name="esp32-camera",
repo="https://github.com/espressif/esp32-camera.git",
ref="v2.0.15",
)
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)

View File

@ -88,12 +88,7 @@ async def to_code(config):
if CORE.using_esp_idf and CORE.data[KEY_CORE][KEY_FRAMEWORK_VERSION] >= cv.Version( if CORE.using_esp_idf and CORE.data[KEY_CORE][KEY_FRAMEWORK_VERSION] >= cv.Version(
5, 0, 0 5, 0, 0
): ):
add_idf_component( add_idf_component(name="espressif/mdns", ref="1.8.2")
name="mdns",
repo="https://github.com/espressif/esp-protocols.git",
ref="mdns-v1.8.2",
path="components/mdns",
)
cg.add_define("USE_MDNS") cg.add_define("USE_MDNS")

View File

@ -449,11 +449,7 @@ async def to_code(config):
cg.add_define("USE_MICRO_WAKE_WORD") cg.add_define("USE_MICRO_WAKE_WORD")
cg.add_define("USE_OTA_STATE_CALLBACK") cg.add_define("USE_OTA_STATE_CALLBACK")
esp32.add_idf_component( esp32.add_idf_component(name="espressif/esp-tflite-micro", ref="1.3.3~1")
name="esp-tflite-micro",
repo="https://github.com/espressif/esp-tflite-micro",
ref="v1.3.3.1",
)
cg.add_build_flag("-DTF_LITE_STATIC_MEMORY") cg.add_build_flag("-DTF_LITE_STATIC_MEMORY")
cg.add_build_flag("-DTF_LITE_DISABLE_X86_NEON") cg.add_build_flag("-DTF_LITE_DISABLE_X86_NEON")

View File

@ -1,16 +1,10 @@
dependencies: dependencies:
esp-tflite-micro: espressif/esp-tflite-micro:
git: https://github.com/espressif/esp-tflite-micro.git version: 1.3.3~1
version: v1.3.1 espressif/esp32-camera:
esp32_camera: version: 2.0.15
git: https://github.com/espressif/esp32-camera.git espressif/mdns:
version: v2.0.15 version: 1.8.2
mdns:
git: https://github.com/espressif/esp-protocols.git
version: mdns-v1.8.2
path: components/mdns
rules:
- if: "idf_version >=5.0"
espressif/esp_wifi_remote: espressif/esp_wifi_remote:
version: 0.10.2 version: 0.10.2
rules: rules: