rp_setup_workspace
Creates an isolated, patched copy of a RedPitaya-FPGA repository so builds never modify the pristine checkout. Patches block-design version checks and skips git; idempotent, no Vivado session needed.
Instructions
Copy a RedPitaya-FPGA repo into an isolated workspace so builds don't touch the pristine checkout. The copy is patched to run on the installed Vivado release (block-design version check) and without git. Idempotent — pass force=true to recopy. No Vivado session required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, delete and recopy an existing workspace (default: false) | |
| repo_path | Yes | Path to the RedPitaya-FPGA checkout (contains prj/, rtl/, brd/, *.tcl) | |
| workspace_path | No | Destination workspace dir. Default: <repo_parent>/redpitaya_mcp_workspace |