feat(sr): Update ESP-SR to 2.x and enable it for ESP32-P4#11785
feat(sr): Update ESP-SR to 2.x and enable it for ESP32-P4#11785
Conversation
👋 Hello me-no-dev, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
||||||||||||||||||||||||||||||||||||
Test Results 76 files 76 suites 13m 6s ⏱️ Results for commit 97b6f8e. ♻️ This comment has been updated with latest results. |
This pull request updates the ESP Speech Recognition (
ESP_SR) component to support the ESP32P4 target and upgrades the underlyingesp-srdependency version. The main changes ensure that speech recognition features are now available for both ESP32S3 and ESP32P4 platforms when WakeNet or MultiNet are enabled.Platform and Dependency Updates:
espressif/esp-srdependency version from^1.4.2to^2.1.5inidf_component.yml, and expanded its rules to include the ESP32P4 target.Platform Support Expansion:
ESP_SR.cpp,ESP_SR.h,esp32-hal-sr.c, andesp32-hal-sr.hto include bothCONFIG_IDF_TARGET_ESP32S3andCONFIG_IDF_TARGET_ESP32P4, enabling speech recognition features for ESP32P4. [1] [2] [3] [4]Fixes: #11783