[an error occurred while processing this directive]
|
--image_input --image_input=filename,symbol,segment,alignment
Use this option to link pure binary files in addition to the ordinary input files.
The file’s entire contents is placed in the segment, which means it can only contain pure
binary data (for instance, the raw-binary output format, see Single output file, page 53).
The segment part where the contents of the filename file is placed, is only included if
the symbol symbol is required by your application. Use the -g option if you want to
force a reference to the segment part, see -g, page 30.
Example
--image_input=bootstrap.rnn,Bootstrap,CSTARTUPCODE,4
The contents of the pure binary file bootstrap.rnn is placed in the segment
CSTARTUPCODE. The segment part where the contents is placed will be 4-byte aligned
and will only be included if your application (or the command line option -g) includes
a reference to the symbol Bootstrap.
This option corresponds to the Raw binary image option in the linker category in the
IAR Embedded Workbench IDE.
Доступ из Си можно произвести через __segment_begin