diff --git a/CMakeLists.txt b/CMakeLists.txt index dc17d35..50b8db1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 + $ esp_audio_front_end esp_audio_processor multinet diff --git a/idf_component.yml b/idf_component.yml index 8b5035a..ddcda04 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -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" diff --git a/lib/esp32s3/libesp-dsp.a b/lib/esp32s3/libesp-dsp.a deleted file mode 100644 index 3dd4511..0000000 Binary files a/lib/esp32s3/libesp-dsp.a and /dev/null differ