3.1.7. waf_tools.bingen
Generation of raw binary files from linked ELF outputs.
This waf tool converts a linked ELF executable into a raw binary file using
the TI tiobj2bin utility (OBJ2BIN). The binary generation task is
automatically appended after the link step for task generators with the
cprogram feature when the TI ARM CGT toolchain is active.
3.1.7.1. Usage
The tool is loaded and configured by
waf_tools.ti_arm_cgt.find_bingen():# in ti_arm_cgt.py @conf def find_bingen(ctx): ctx.load("bingen", tooldir=TOOL_DIR)
The
add_bingen_taskfeature hook runs automatically after linking for any task generator that uses thecprogramfeature and thearmclcompiler.
3.1.7.2. Dependencies
TI
tiobj2binutility (OBJ2BINenvironment variable)TI ARM CGT toolchain (
CC_NAME == "armcl")
Functions
|
Append a binary-generation task after the link step. |
|
Configure the binary generation tool. |
Classes
|
Task that converts a linked ELF file into a raw binary. |