register_custom_chip
Register or override a third-party MCU pinout and peripheral multiplexing rules so circuit-agent can build accurate schematics and netlists.
Instructions
Register or dynamically override a third-party microcontroller pinout and peripheral multiplexing rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pins | Yes | List of available GPIO and power pins | |
| chip_id | Yes | Unique identifier, e.g. 'CH32V003F4P6' | |
| package | No | Physical package, e.g. 'TSSOP-20', 'QFN-32' | |
| mcu_family | No | MCU family, e.g. 'QingKe-RISC-V', 'ARM-Cortex-M0+' | |
| description | No | Human-readable description of the chip | |
| pin_numbers | No | Map of pin names to physical pin numbers, e.g. {'PD1': '8'} | |
| reserved_pins | No | Map of reserved pins and reasons, e.g. {'PD1': 'SWDIO', 'NRST': 'RESET'} | |
| supply_voltage | No | Operating voltage (typically 3.3 or 5.0) | |
| peripheral_routes | No | Peripheral routing defaults, e.g. {'I2C1': {'I2C_SCL': 'PC2', 'I2C_SDA': 'PC1'}} | |
| default_gpio_assignments | No | Default signal mappings, e.g. {'/LED1': 'PD4'} |