validate_board
Validate the imported board description to detect pin shorts, multi-driven nets, missing power/ground/debug/reset nets, and optional alternate-function legality. Run import_netlist first.
Instructions
Validate the imported BoardDescription: detect a package pin wired to multiple nets (short), a peripheral signal routed to multiple pins, a port pin driven by multiple nets, and missing power/ground/debug/reset nets. With a pin-capability DB (db_path or the STM32_GDB_MCP_PIN_DB env) it also checks alternate-function legality; unknown pins degrade to 'unverified', never a false conflict. Run import_netlist first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_path | No | Optional JSON pin-capability DB (CubeMX-derived) for AF-legality checks. | |
| session | No | Target session id (default 'default'). |