|
| 1 | +# Changelog |
| 2 | + |
| 3 | +**English** | [中文](CHANGELOG.md) |
| 4 | + |
| 5 | +## [V0.3] - Latest Changes |
| 6 | + |
| 7 | +### New Features |
| 8 | + |
| 9 | +#### Documentation |
| 10 | +- **Added Chinese README** (`README_CN.md`) |
| 11 | + - Complete Chinese project documentation |
| 12 | + - Includes project overview, feature list, build instructions, etc. |
| 13 | + |
| 14 | +- **Added ESP-Hosted Configuration Guide** (`docs/ESP_HOSTED_CONFIGURATION_GUIDE.md`) |
| 15 | + - Detailed ESP-Hosted configuration instructions |
| 16 | + - Includes GPIO configuration information for M5Stack Tab5 |
| 17 | + - Provides two configuration methods: menuconfig and direct editing |
| 18 | + |
| 19 | +#### Windows Platform Support |
| 20 | +- **Enhanced Windows Desktop Build Support** |
| 21 | + - Added vcpkg build method support |
| 22 | + - Added MSYS2 build method support |
| 23 | + - Added Visual Studio build method support |
| 24 | + - Improved SDL2 dependency finding and linking |
| 25 | + - Added MSVC compilation options (UTF-8 encoding, math constants support) |
| 26 | + |
| 27 | +### Improvements |
| 28 | + |
| 29 | +#### Documentation Improvements |
| 30 | +- **Major README.md Update** |
| 31 | + - Added project overview and feature list |
| 32 | + - Added detailed Windows build instructions (vcpkg/MSYS2/Visual Studio) |
| 33 | + - Added ESP32-P4 target chip description and common issue solutions |
| 34 | + - Added Windows encoding error solutions |
| 35 | + - Added ESP-Hosted configuration section |
| 36 | + - Improved build step instructions with clear execution directory |
| 37 | + |
| 38 | +#### Desktop Platform Optimization |
| 39 | +- **Improved Desktop Platform Event Handling** (`app/app.cpp`) |
| 40 | + - Added SDL event polling |
| 41 | + - Added Windows platform CPU usage optimization (added delay) |
| 42 | + - Improved cross-platform compatibility |
| 43 | + |
| 44 | +- **Improved LVGL Initialization** (`platforms/desktop/hal/components/hal_lvgl.cpp`) |
| 45 | + - Added SDL window creation error checking |
| 46 | + - Added initial refresh call to ensure window visibility |
| 47 | + - Improved Windows platform timer handling (handling `LV_NO_TIMER_READY` case) |
| 48 | + - Added minimum sleep time protection |
| 49 | + |
| 50 | +- **Improved Application Launcher View** (`app/apps/app_launcher/view/view.cpp`) |
| 51 | + - Added forced refresh for desktop platform to ensure correct content display |
| 52 | + |
| 53 | +- **Improved CMake Build Configuration** (`platforms/desktop/CMakeLists.txt`) |
| 54 | + - Improved SDL2 finding and linking (supports vcpkg CMake targets) |
| 55 | + - Added MSVC-specific compilation options |
| 56 | + - Improved C/C++ file separation handling |
| 57 | + - Added conditional pthread linking (non-Windows platforms only) |
| 58 | + - Added CMake policy settings |
| 59 | + |
| 60 | +#### Hardware Platform Improvements |
| 61 | +- **Updated Audio Codec Dependency** (`platforms/tab5/components/m5stack_tab5/idf_component.yml`) |
| 62 | + - Upgraded `espressif/esp_codec_dev` from `^1.3.0` to `^1.5.2` |
| 63 | + |
| 64 | +- **Fixed Audio Codec Configuration** (`platforms/tab5/components/m5stack_tab5/m5stack_tab5.c`) |
| 65 | + - Fixed ES7210 microphone selection macro error (`ES7120_SEL_MIC*` → `ES7210_SEL_MIC*`) |
| 66 | + - Commented out unused GPIO interface code to avoid compilation warnings |
| 67 | + - Commented out unused hardware gain configuration |
| 68 | + - Commented out deprecated I2C port configuration, using new bus_handle method |
| 69 | + |
| 70 | +- **Added ESP-Hosted Configuration** (`platforms/tab5/sdkconfig.defaults`) |
| 71 | + - Configured ESP32C6 Wi-Fi coprocessor |
| 72 | + - Configured SDIO2 interface (Slot 1) |
| 73 | + - Configured GPIO pins (CMD: 13, CLK: 12, D0-D3: 11-8, Reset: 54) |
| 74 | + - Set 4-bit bus width and 40MHz clock frequency |
| 75 | + |
| 76 | +#### Code Quality Improvements |
| 77 | +- **Improved Header File Compatibility** (`app/assets/assets.h`) |
| 78 | + - Added C++ compatibility protection (`extern "C"`) |
| 79 | + |
| 80 | +### Technical Details |
| 81 | + |
| 82 | +#### Build System |
| 83 | +- Support for vcpkg toolchain file |
| 84 | +- Improved CMake targets usage |
| 85 | +- Added platform-specific compilation options |
| 86 | + |
| 87 | +#### Platform-Specific Optimizations |
| 88 | +- Windows: Added CPU usage optimization |
| 89 | +- Windows: Improved timer handling |
| 90 | +- Windows: Added encoding support (UTF-8) |
| 91 | + |
| 92 | +#### Dependency Updates |
| 93 | +- `espressif/esp_codec_dev`: `^1.3.0` → `^1.5.2` |
| 94 | + |
| 95 | +### Fixed Issues |
| 96 | + |
| 97 | +1. **Fixed ES7210 Microphone Selection Macro Error** |
| 98 | + - Issue: Used incorrect macro name `ES7120_SEL_MIC*` |
| 99 | + - Fix: Corrected to `ES7210_SEL_MIC*` |
| 100 | + |
| 101 | +2. **Fixed Desktop Platform Rendering Issue** |
| 102 | + - Issue: Desktop platform initial rendering might be incomplete |
| 103 | + - Fix: Added forced refresh call |
| 104 | + |
| 105 | +3. **Fixed Windows Platform High CPU Usage** |
| 106 | + - Issue: Windows platform had high CPU usage |
| 107 | + - Fix: Added appropriate delay handling |
| 108 | + |
| 109 | +4. **Fixed CMake Build Configuration Issue** |
| 110 | + - Issue: Windows platform SDL2 finding and linking problems |
| 111 | + - Fix: Improved SDL2 finding method, supporting vcpkg |
| 112 | + |
| 113 | +### Configuration File Changes |
| 114 | + |
| 115 | +- `platforms/tab5/sdkconfig`: Auto-generated configuration file update |
| 116 | +- `platforms/tab5/dependencies.lock`: Dependency lock file update |
| 117 | + |
| 118 | +--- |
| 119 | + |
| 120 | +## Modified Files List |
| 121 | + |
| 122 | +### New Files |
| 123 | +- `README_CN.md` - Chinese README |
| 124 | +- `docs/ESP_HOSTED_CONFIGURATION_GUIDE.md` - ESP-Hosted Configuration Guide |
| 125 | + |
| 126 | +### Modified Files |
| 127 | +- `README.md` - Major documentation update |
| 128 | +- `app/app.cpp` - Added SDL event handling and Windows optimization |
| 129 | +- `app/apps/app_launcher/view/view.cpp` - Added desktop platform refresh |
| 130 | +- `app/assets/assets.h` - Added C++ compatibility protection |
| 131 | +- `platforms/desktop/CMakeLists.txt` - Improved Windows build support |
| 132 | +- `platforms/desktop/hal/components/hal_lvgl.cpp` - Improved error handling and Windows optimization |
| 133 | +- `platforms/tab5/components/m5stack_tab5/idf_component.yml` - Updated dependency version |
| 134 | +- `platforms/tab5/components/m5stack_tab5/m5stack_tab5.c` - Fixed audio codec configuration |
| 135 | +- `platforms/tab5/sdkconfig.defaults` - Added ESP-Hosted configuration |
| 136 | +- `platforms/tab5/sdkconfig` - Auto-generated configuration update |
| 137 | +- `platforms/tab5/dependencies.lock` - Dependency lock file update |
| 138 | + |
0 commit comments