This merge request contains the following: - Update the animation of the speech recognition interface to improve response speed and fluency - Fixed the issue that the voice wake-up animation was extremely stuck when the prompt message was not closed - Fixed the problem that the control panel information was not synchronized after the LED status was modified by voice - Fixed the problem that the LED does not turn on when the brightness is updated through the Web - Updated LVGL to V8.1 - Dark lines appear in the shadow of the control in V8.0 : LED with custom style - All third-party components are moved to the LVGL epository. Remove all lv_lib_xxx and ntrol whether the component is enabled through Kconfig. - Split file system support to stdio, POSIX and FatFS. Select stdio according to IDF support and specify the default drive letter in CMakeLists.txt - Fixed an issue where a command word that was too short was added successfully on the web page but esp-sr refused to add it In addition, update the factory firmware version number to V0.2.1.
Patch for ESP-IDF
Since some bug fixes of esp-idf may not be synced to GitHub, you need to manually apply some patches to build the example.
Apply Patch
For Linux and macOS, you can apply the patch by entering the following command on the command line / terminal:
cd /path/to/esp-box/idf_patch
python3 apply_patch.py -d /path/to/esp-idf
. /path/to/esp-idf/export.sh
For Windows users, you may need to do the following manually:
- Change the working directory to the folder where esp-idf is located
- Run the following commands in cmd in sequence:
git fetch origingit checkout 35b20cadce65ce79c14cf2018efc87c44d71ab21git apply X:\path\to/esp-box\idf_patch\idf_patch.patch
- Copy the files in the
idf_patch\components\esp_phyfolder and replace them to the same location under esp-idf in turn - Run
install.batin the esp-idf directory - Run
export.batin the esp-idf directory - Enter the esp-box repo to compile the project you want
Compile Example
The project provides sdkconfig.defaults.cn and sdkconfig.defaults.en, which are the default configuration files corresponding to Chinese and English respectively. By replacing sdkconfig.defaults with the above file, deleting sdkconfig, rebuilding and burning, you can burn routines in the specified language to ESP-Box.