bugfix: Remove unnecessary __pycache__ folder

This commit is contained in:
xysun 2023-07-05 14:28:48 +08:00
parent 138a685e53
commit c03368ae3b
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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)