register_target_configuration
Registers a board's debugger, interface, and target configuration using OpenOCD script paths so firmware flashing and debugging target the correct hardware.
Instructions
Register a board using paths relative to the OpenOCD scripts directory.
Example interface_config: interface/stlink.cfg Example target_config: target/stm32f4x.cfg
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": {
"board_name": "<board_name>",
"debugger": "<debugger>",
"interface_config": "<interface_config>",
"target_config": "<target_config>"
},
"name": "register_target_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debugger | Yes | ||
| transport | No | swd | |
| board_name | Yes | ||
| target_config | Yes | ||
| interface_config | Yes |