flash_stm32
Flash a .bin firmware file to an STM32 via ST-Link using st-flash, then reset the target. Set confirm=true and provide firmware_path to proceed.
Instructions
Flash a .bin to an STM32 over ST-Link with st-flash, then reset the target. Requires confirm=true.
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": {
"firmware_path": "<firmware_path>"
},
"name": "flash_stm32"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | 0x08000000 | |
| confirm | No | ||
| firmware_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||