Merge branch 'feature/dsp_from_component_manager' into 'master'

RFC: install esp-dsp via the component manager

See merge request speech-recognition-framework/esp-sr!17
This commit is contained in:
Sun Xiang Yu 2023-02-13 11:06:17 +08:00
commit 2d25b8f91b
3 changed files with 4 additions and 1 deletions

View File

@ -65,11 +65,13 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3")
add_prebuilt_library(esp_audio_front_end "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3/libesp_audio_front_end.a" PRIV_REQUIRES ${componect_name})
add_prebuilt_library(hufzip "${CMAKE_CURRENT_SOURCE_DIR}/lib/esp32s3/libhufzip.a" PRIV_REQUIRES ${componect_name})
idf_component_get_property(esp_dsp_lib espressif__esp-dsp COMPONENT_LIB)
target_link_libraries(${COMPONENT_TARGET} "-Wl,--start-group"
hufzip
dl_lib
c_speech_features
esp-dsp
$<TARGET_FILE:${esp_dsp_lib}>
esp_audio_front_end
esp_audio_processor
multinet

View File

@ -3,6 +3,7 @@ description: esp_sr provides basic algorithms for Speech Recognition application
url: https://github.com/espressif/esp-sr
dependencies:
idf: ">=4.4"
espressif/esp-dsp: "^1.2.1"
files:
exclude:
- ".github"

Binary file not shown.