connect
Establish a connection to OpenOCD for microcontroller debugging. Optionally starts the OpenOCD server automatically if not already running.
Instructions
Connect to OpenOCD. Call this first.
If nothing is listening and auto_start is True, the server launches OpenOCD itself using the configured project settings (probe + target) and connects. Set auto_start=False to require an already-running OpenOCD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | localhost | |
| port | No | ||
| auto_start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |