link_elf
Links object files and libraries into an ELF firmware image using optional linker scripts, flags, and map files, then reports memory usage for embedded ARM builds.
Instructions
Link object files into an ELF firmware image.
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": {
"object_files": "<object_files>",
"output": "<output>"
},
"name": "link_elf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | ||
| output | Yes | ||
| timeout | No | ||
| map_file | No | ||
| libraries | No | ||
| gc_sections | No | ||
| library_dirs | No | ||
| object_files | Yes | ||
| linker_script | No | ||
| print_memory_usage | No |