stm32_build_project
Build STM32 projects headlessly in an STM32CubeIDE workspace, selecting project, configuration, clean build, and indexer options for automated CI pipelines.
Instructions
Executes a headless build of a project in an STM32CubeIDE workspace using headless-build.
Args: workspace_path: Path to the Eclipse workspace folder. project_name: Specific project name to build (or None for all projects). configuration: Build configuration ('Debug' or 'Release'). clean_first: If True, performs a clean build (-cleanBuild). no_indexer: Disables Eclipse indexer during build for speed.
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": {
"workspace_path": "<workspace_path>"
},
"name": "stm32_build_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no_indexer | No | ||
| clean_first | No | ||
| project_name | No | ||
| configuration | No | Debug | |
| workspace_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |