pyocd_project_load
Loads debug configuration from a project directory, auto-discovering firmware and debug files. Must be called first to obtain target type, file paths, and probe ID for a debug session.
Instructions
Load project debug configuration from .pyocd-debug.json, or auto-discover firmware/ELF/SVD files if no config exists. Call this FIRST before any debug session to get file paths. Returns target type, firmware path, ELF path, SVD path, and probe ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the project root directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |