From c03368ae3b6c5a7fe4c3f1f68d49fa0b5d2dfb24 Mon Sep 17 00:00:00 2001 From: xysun Date: Wed, 5 Jul 2023 14:28:48 +0800 Subject: [PATCH 1/2] bugfix: Remove unnecessary __pycache__ folder --- CHANGELOG.md | 3 ++- CMakeLists.txt | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a47e4b..d06e1ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,10 @@ - Available storage is less than the remaining flash space on IDF v5.0. If you can not map model partition successfully, please check the left free storage by `spi_flash_mmap_get_free_pages(ESP_PARTITION_MMAP_DATA)` or update IDF to v5.1 or later. -# unreleased +# 1.3.2 - Output text of ctc greedy search result when no command can be detected. - Modify the default Chinese commands +- Remove __pycache__ in esp-sr/model folder ## 1.3.1 - Bugfix: remove all cxx11:string diff --git a/CMakeLists.txt b/CMakeLists.txt index 34a2e04..75fcc45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,7 +103,9 @@ elseif(${IDF_TARGET} STREQUAL "esp32s3") COMMENT "Move and Pack models..." COMMAND python ${MVMODEL_EXE} -d1 ${PROJECT_DIR} -d2 ${COMPONENT_PATH} -d3 ${build_dir} DEPENDS ${PROJECT_DIR}/sdkconfig - VERBATIM) + VERBATIM + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E rm -rf ${COMPONENT_PATH}/model/__pycache__) add_custom_target(srmodels_bin ALL DEPENDS ${image_file}) add_dependencies(flash srmodels_bin) From a48f29383cc0c05c2dc146a42764a5c439ef65b1 Mon Sep 17 00:00:00 2001 From: xysun Date: Wed, 5 Jul 2023 14:29:13 +0800 Subject: [PATCH 2/2] release v1.3.2 --- idf_component.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idf_component.yml b/idf_component.yml index 03d8e89..0337b39 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: "1.3.1" +version: "1.3.2" description: esp_sr provides basic algorithms for Speech Recognition applications url: https://github.com/espressif/esp-sr dependencies: