stm32_generate_code
Load CubeMX configuration from an existing .ioc file and generate STM32 project code. Regenerate firmware after pin or peripheral changes to keep your code in sync.
Instructions
Runs CubeMX config load + project generate on an existing .ioc.
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_generate_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to project directory or .ioc file |