project_load_mcu
Re-target an existing STM32CubeMX project to a different MCU, preserving compatible pins and peripherals where possible while updating the target part.
Instructions
Re-target an existing project to another MCU (CubeMX keeps compatible pins/peripherals where possible, same as the GUI load <mcu>).
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": {
"project_id": "<project_id>",
"mcu": "<mcu>"
},
"name": "project_load_mcu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcu | Yes | MCU part number | |
| project_id | Yes | Project id |