6 Commits

Author SHA1 Message Date
Xiaoxia 18a60b8051 fix(firmware-builder): upload artifacts through control API 2026-08-09 04:49:52 +08:00
Xiaoxia 85ff44a759 Enhance firmware builder with failure summary and error reporting
- Added `failure_summary` function to extract actionable errors from compiler logs.
- Updated manifest to include error details when firmware build fails.
- Added unit tests to verify the functionality of the new failure summary feature.
2026-08-07 00:46:05 +08:00
Xiaoxia 1da3df89bf Enhance firmware builder with retry logic for OSS uploads
- Added retry mechanism for transient OSS upload errors with exponential backoff.
- Updated `upload_outputs` function to utilize the new upload logic.
- Enhanced documentation to reflect the new retry behavior for OSS uploads.
- Added unit tests to verify retry functionality and error handling.
2026-08-06 13:03:29 +08:00
Xiaoxia e9582601e0 Update project version to 2.4.2 and enhance firmware builder with build options
- Incremented project version from 2.4.1 to 2.4.2 in CMakeLists.txt.
- Added support for `--build-options-json` in firmware_builder.py to allow custom build options.
- Implemented validation for build options to ensure correct data types and structure.
- Updated tests to cover new build options functionality and validation logic.
2026-08-06 05:54:34 +08:00
Xiaoxia 60e161d543 Update build workflow and firmware builder for improved board support
- Updated Docker image in GitHub Actions workflow from `espressif/idf:v6.0.1` to `espressif/idf:release-v6.1`.
- Removed obsolete build configurations for ESP32-S31 and BluFi options.
- Enhanced `firmware_builder.py` to emit build stage markers and handle board configurations more effectively.
- Updated documentation to reflect changes in build process and configuration handling.
- Added tests to verify board display names and configuration resolution logic.
2026-08-04 02:04:17 +08:00
Xiaoxia f5deb3a668 Add firmware builder container with support for XiaoZhi board configurations
- Introduced a Dockerfile for building firmware for XiaoZhi boards.
- Added entrypoint script to initialize the environment and execute the firmware build.
- Implemented firmware_builder.py for handling the build process, including validation and artifact collection.
- Created README.md with build instructions and usage examples.
- Added test suite for firmware builder functionality.
- Included .dockerignore to exclude unnecessary files from the Docker context.
2026-08-03 22:20:16 +08:00