stm32_parse_ioc
Parse STM32CubeMX .ioc files to retrieve MCU target, core type, system clock, GPIO pins, and enabled IPs.
Instructions
Parses an STM32CubeMX .ioc file and returns:
MCU Target name & Family (e.g. STM32F4, STM32G4)
CPU core type (Cortex-M4, Cortex-M7, etc.)
System clock frequency in Hz
Configured GPIO pins, labels, and modes
Enabled IPs (USART, SPI, I2C, CAN, ADC, FreeRTOS, etc.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ioc_path": "<ioc_path>"
},
"name": "stm32_parse_ioc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ioc_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |