stm32_get_build_artifacts
Inspect compiled ELF, HEX, BIN, and MAP files to analyze text, data, and BSS sections, calculating total Flash and RAM usage for a project's build configuration.
Instructions
Inspects built binaries (.elf, .hex, .bin, .map) in the project output directory. Uses arm-none-eabi-size to analyze text, data, bss sections, and calculates total Flash and RAM usage.
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": {
"project_dir": "<project_dir>"
},
"name": "stm32_get_build_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| configuration | No | Debug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |