stm32_build
Compile an STM32 project headlessly and receive structured GCC diagnostics with severity, file, line, column, and message, along with flash/RAM usage summary.
Instructions
Headless build. Returns structured diagnostics: {severity, file, line, column, message} parsed out of the GCC output, plus a short summary and the flash/RAM usage from the size output. Do not dump raw logs into the model context.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "stm32_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | Whether to perform clean build | |
| projectPath | Yes | Path to STM32 project directory | |
| configuration | No | Build configuration name (default: Debug) | Debug |