Repository navigation
v2.0.0-beta.2
Pre-release
Pre-release
This release lets the host ask which firmware variant is running, and attaches the release images a second time with the tag in their file name, so ESPHome configs can pin a release and a variant. The audio pipeline is the same as in v2.0.0-alpha.7. These notes cover everything since alpha.7, including v2.0.0-beta.1.
DFU / device control
- New read command DFU_CONTROLLER_SERVICER_RESID_DFU_GETVARIANT (resid 92, 1 byte). All variants of a release share one version string, so until now the host had no way to tell them apart.
| Value | Variant | Release asset |
|---|---|---|
| 0 | fixed_delay | satellite1_xmos-.factory.bin |
| 1 | bypass | not released |
| 2 | aec4 | satellite1_xmos_aec4-.factory.bin |
- The values are fixed and new variants take the next free number. Firmware built before this command (alpha.7 and beta.1 included) answers CONTROL_BAD_COMMAND, and hosts should treat that answer as fixed_delay.
- docs/device-control-spi-protocol.md now also documents the payload of the version command: [major, minor, patch, pre_release, counter], where pre_release is 0 none, 1 alpha, 2 beta, 3 rc, 4 dev.
Release assets
- Each factory image and its .md5 are attached twice: under the plain name, and again with - appended, e.g. satellite1_xmos-v2.0.0-beta.2.factory.bin and satellite1_xmos_aec4-v2.0.0-beta.2.factory.bin. To change release or variant in ESPHome, change the xmos_fw_version substitution. docs/versioning.md has an example. The plain names stay, because the upstream ESPHome config downloads them.
- Renamed: satellite_firmware_apps.zip is now satellite_firmware_apps-.zip, attached once only. The Documentation repo runs unzip *.zip, which fails when a release holds two zips. Scripts that download the zip by its old name must be updated.
- The release workflow fails if the built firmware version does not match the release tag.
Build
- xmos-ai-tools is bumped from 1.4.2 to 1.4.4.
- The build Python is now 3.12, up from 3.10. xmos-ai-tools needs numpy<2.0, which has no wheels for Python versions newer than 3.12. Update local venvs: python3.12 -m venv .venv && pip install -r requirements.txt.
- When the installed xmos-ai-tools version changes, CMake deletes the generated VNR model source so it is built again. Before, the stale model failed to compile against the new runtime until you deleted it by hand. Configure stops with an error if xmos-ai-tools is missing.
- CI rebuilds its venv when the Python version or requirements.txt changes. When python3.12 is not installed (the Debian 11 xcore_builder image), CI bootstraps it with uv.
- versioning.py: set_to_dev() returned None for a version that was already a dev version, which broke callers that chain on it. It now always returns the version object. Tests cover this.
Compatibility
- The protocol stays at 0x11. The new command is additive, and no existing command or payload changed.
- Hosts that do not send GETVARIANT see no change.