13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tool OptionsLinker option: --output (-o)Menu entry1. Select Linker » Output Format.2. Enable one or more output <strong>for</strong>mats.For some output <strong>for</strong>mats you can specify a number of suboptions.Eclipse always uses the project name as the basename <strong>for</strong> the output file.Command line syntax--output=[filename][:<strong>for</strong>mat[:addr_size][,space_name]]...-o[filename][:<strong>for</strong>mat[:addr_size]]...You can specify the following <strong>for</strong>mats:ELFIHEXSRECELF/DWARFIntel HexMotorola S-recordsDescriptionBy default, the linker generates an output file in ELF/DWARF <strong>for</strong>mat, with the name task1.abs.With this option you can specify an alternative filename, and an alternative output <strong>for</strong>mat. The defaultoutput <strong>for</strong>mat is the <strong>for</strong>mat of the first input file.You can use the --output option multiple times. This is useful to generate multiple output <strong>for</strong>mats. Withthe first occurrence of the --output option you specify the basename (the filename without extension),which is used <strong>for</strong> subsequent --output options with no filename specified. If you do not specify a filename,or you do not specify the --output option at all, the linker uses the default basename taskn.IHEX and SREC <strong>for</strong>matsIf you specify the Intel Hex <strong>for</strong>mat or the Motorola S-records <strong>for</strong>mat, you can use the argument addr_sizeto specify the size of addresses in bytes (record length). For Intel Hex you can use the values: 1, 2, and4 (default). For Motorola S-records you can specify: 2 (S1 records), 3 (S2 records, default) or 4 bytes (S3records).The name of the output file will be filename with the extension .hex or .sre and contains the code anddata allocated in the default address space. If they exist, any other address spaces are also emittedwhereas their output files are named filename_spacename with the extension .hex or .sre.Use option --chip-output (-c) to create Intel Hex or Motorola S-record output files <strong>for</strong> each chip definedin the LSL file (suitable <strong>for</strong> loading into a PROM-programmer).577

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!