Merge branch 'bugfix/mn5q8_crash' into 'master'

Bugfix/mn5q8 crash

See merge request speech-recognition-framework/esp-sr!43
This commit is contained in:
Sun Xiang Yu 2023-07-07 14:06:24 +08:00
commit cef5097777
8 changed files with 9 additions and 5 deletions

View File

@ -4,6 +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.
# 1.3.3
- Fix the crash of multinet5q8 when speech commands are triggered
- Update esp_mn_commands_update() in esp_process_sdkconfig.c
# 1.3.2
- Output text of ctc greedy search result when no command can be detected.
- Modify the default Chinese commands

View File

@ -103,9 +103,7 @@ 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
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E rm -rf ${COMPONENT_PATH}/model/__pycache__)
VERBATIM)
add_custom_target(srmodels_bin ALL DEPENDS ${image_file})
add_dependencies(flash srmodels_bin)

View File

@ -1,4 +1,4 @@
version: "1.3.2"
version: "1.3.3"
description: esp_sr provides basic algorithms for Speech Recognition applications
url: https://github.com/espressif/esp-sr
dependencies:

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,6 +3,8 @@ import os
import argparse
import shutil
import math
import sys
sys.dont_write_bytecode = True
from pack_model import pack_models
def calculate_total_size(folder_path):

View File

@ -938,5 +938,5 @@ esp_mn_error_t *esp_mn_commands_update_from_sdkconfig(const esp_mn_iface_t *mult
end:
esp_mn_commands_print();
return esp_mn_commands_update(multinet, model_data);
return esp_mn_commands_update();
}