flash_and_run
Flash firmware to a target and run to a specified breakpoint. Automates download, reset, breakpoint set, and run to streamline debugging.
Instructions
Flash firmware to target and run to a breakpoint (default: main).
Composite operation:
Execute the configured flash script (downloads firmware)
Reset the target
Set a breakpoint at the specified symbol
Run to that breakpoint
Args: break_at: Symbol to break at after flashing (default: "main"). Set empty to skip.
Returns: Step-by-step execution results
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| break_at | No | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |