build_all
Execute sequential builds for XR875 SDK projects, compiling M33 and C906 cores, creating OTA updates, and packaging firmware in a single command.
Instructions
Build everything in sequence (M33 -> OTA -> C906 -> Pack).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/xr875_build/server.py:51-58 (handler)The build_all tool is registered with @mcp.tool() and executes a sequence of build commands using run_build_command helper function.
@mcp.tool() def build_all(): """Build everything in sequence (M33 -> OTA -> C906 -> Pack).""" # Note: Using M33 followed by OTA then C906 and Pack as a standard procedure cmd = ("source tools/scripts/envsetup.sh && lunch_rtos 34 && lunch_rtos 35 && m clean && m && " "ota_mrtos clean && ota_mrtos && " "lunch_rtos 34 && m clean && m && pack") return run_build_command(cmd)