pyocd_svd_attach_builtin
Attach a generic built-in SVD as a temporary fallback when no vendor-specific SVD is available. Extracts from pyOCD's bundled data for attachment.
Instructions
Attach a built-in SVD from pyocd's bundled svd_data.zip as a TEMPORARY fallback. ⚠️ Built-in SVDs are generic/simplified versions that may lack peripheral definitions specific to your exact chip variant/package. STRONGLY RECOMMENDED: use a vendor-provided SVD file via pyocd_svd_attach() instead. Only use this as a last resort when no vendor SVD is available. Extracts the SVD to a temp directory and attaches it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svd_name | Yes | Built-in SVD filename (e.g. 'HC32F4A0.svd', 'STM32F429x.svd'). Use pyocd_project_load to discover available names. | |
| target_type | No | Target type to auto-match SVD name (alternative to svd_name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |