mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
feat(tts): Support esp32c6
This commit is contained in:
parent
4f3c441d69
commit
360ecdbcc9
@ -155,4 +155,23 @@ elseif(${IDF_TARGET} STREQUAL "esp32c3")
|
||||
esp_tts_chinese
|
||||
voice_set_xiaole
|
||||
"-Wl,--end-group")
|
||||
elseif(${IDF_TARGET} STREQUAL "esp32c6")
|
||||
set(requires
|
||||
spiffs
|
||||
)
|
||||
|
||||
IF (IDF_VERSION_MAJOR GREATER 4)
|
||||
list(APPEND requires esp_partition)
|
||||
ENDIF (IDF_VERSION_MAJOR GREATER 4)
|
||||
|
||||
idf_component_register(SRCS .
|
||||
INCLUDE_DIRS esp-tts/esp_tts_chinese/include
|
||||
REQUIRES ${requires}
|
||||
PRIV_REQUIRES spi_flash)
|
||||
|
||||
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-L ${CMAKE_CURRENT_SOURCE_DIR}/esp-tts/esp_tts_chinese/esp32c6")
|
||||
target_link_libraries(${COMPONENT_TARGET} INTERFACE "-Wl,--start-group"
|
||||
esp_tts_chinese
|
||||
voice_set_xiaole
|
||||
"-Wl,--end-group")
|
||||
endif()
|
||||
|
||||
BIN
esp-tts/esp_tts_chinese/esp32c6/libesp_tts_chinese.a
Normal file
BIN
esp-tts/esp_tts_chinese/esp32c6/libesp_tts_chinese.a
Normal file
Binary file not shown.
BIN
esp-tts/esp_tts_chinese/esp32c6/libvoice_set_xiaole.a
Normal file
BIN
esp-tts/esp_tts_chinese/esp32c6/libvoice_set_xiaole.a
Normal file
Binary file not shown.
@ -14,3 +14,4 @@ targets:
|
||||
- esp32s2
|
||||
- esp32s3
|
||||
- esp32c3
|
||||
- esp32c6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user