mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
feat(tts): Support esp32c3
This commit is contained in:
parent
22a3beddad
commit
31d2ef85d3
@ -1,6 +1,7 @@
|
|||||||
# Change log for esp-sr
|
# Change log for esp-sr
|
||||||
|
|
||||||
## 1.1.0
|
## 1.1.0
|
||||||
|
Support esp32c3 for Chinese TTS
|
||||||
Update document of ESP-SR
|
Update document of ESP-SR
|
||||||
Add ESP-SR into Espressif component manager
|
Add ESP-SR into Espressif component manager
|
||||||
|
|
||||||
|
|||||||
@ -37,24 +37,6 @@ ENDIF (IDF_VERSION_MAJOR GREATER 3)
|
|||||||
voice_set_xiaole
|
voice_set_xiaole
|
||||||
wakenet
|
wakenet
|
||||||
"-Wl,--end-group")
|
"-Wl,--end-group")
|
||||||
elseif(${IDF_TARGET} STREQUAL "esp32s2")
|
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS
|
|
||||||
esp-tts/esp_tts_chinese/include
|
|
||||||
include/esp32
|
|
||||||
src/include
|
|
||||||
)
|
|
||||||
|
|
||||||
set(COMPONENT_REQUIRES
|
|
||||||
json
|
|
||||||
spiffs
|
|
||||||
)
|
|
||||||
|
|
||||||
register_component()
|
|
||||||
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese/esp32s2")
|
|
||||||
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-Wl,--start-group"
|
|
||||||
esp_tts_chinese
|
|
||||||
voice_set_xiaole
|
|
||||||
"-Wl,--end-group")
|
|
||||||
elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS
|
set(COMPONENT_ADD_INCLUDEDIRS
|
||||||
src/include
|
src/include
|
||||||
@ -162,4 +144,26 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3")
|
|||||||
set(message "Failed to create SPIFFS image for partition 'model'. "
|
set(message "Failed to create SPIFFS image for partition 'model'. "
|
||||||
"Check project configuration if using the correct partition table file.")
|
"Check project configuration if using the correct partition table file.")
|
||||||
endif()
|
endif()
|
||||||
|
elseif(${IDF_TARGET} STREQUAL "esp32s2")
|
||||||
|
set(COMPONENT_ADD_INCLUDEDIRS
|
||||||
|
esp-tts/esp_tts_chinese/include
|
||||||
|
)
|
||||||
|
|
||||||
|
register_component()
|
||||||
|
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese/esp32s2")
|
||||||
|
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-Wl,--start-group"
|
||||||
|
esp_tts_chinese
|
||||||
|
voice_set_xiaole
|
||||||
|
"-Wl,--end-group")
|
||||||
|
elseif(${IDF_TARGET} STREQUAL "esp32c3")
|
||||||
|
set(COMPONENT_ADD_INCLUDEDIRS
|
||||||
|
esp-tts/esp_tts_chinese/include
|
||||||
|
)
|
||||||
|
|
||||||
|
register_component()
|
||||||
|
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese/esp32c3")
|
||||||
|
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-Wl,--start-group"
|
||||||
|
esp_tts_chinese
|
||||||
|
voice_set_xiaole
|
||||||
|
"-Wl,--end-group")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
esp-tts/esp_tts_chinese/esp32c3/libesp_tts_chinese.a
Normal file
BIN
esp-tts/esp_tts_chinese/esp32c3/libesp_tts_chinese.a
Normal file
Binary file not shown.
BIN
esp-tts/esp_tts_chinese/esp32c3/libvoice_set_xiaole.a
Normal file
BIN
esp-tts/esp_tts_chinese/esp32c3/libvoice_set_xiaole.a
Normal file
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
version: "1.0.3"
|
version: "1.1.0"
|
||||||
description: esp_sr provides basic algorithms for Speech Recognition applications
|
description: esp_sr provides basic algorithms for Speech Recognition applications
|
||||||
url: https://github.com/espressif/esp-sr
|
url: https://github.com/espressif/esp-sr
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -6,4 +6,4 @@ dependencies:
|
|||||||
files:
|
files:
|
||||||
exclude:
|
exclude:
|
||||||
- ".github"
|
- ".github"
|
||||||
- "docs"
|
- "docs"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user