pack_firmware
Pack firmware for XR875 projects by executing lunch_rtos 34 and pack commands to create deployable firmware packages.
Instructions
Pack the firmware (lunch_rtos 34 && pack).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pack_firmware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/xr875_build/server.py:61-63 (handler)The 'pack_firmware' function is defined as an MCP tool using the @mcp.tool() decorator. It executes a shell command to pack the firmware within the SDK root directory.
def pack_firmware(): """Pack the firmware (lunch_rtos 34 && pack).""" return run_build_command("source tools/scripts/envsetup.sh && lunch_rtos 34 && pack")