ST7MDT2-DVP2 User Manual
3 - STVD7
Table 2: Toolchain steps and their output files
Toolchain:
ST Macroassembler
Hiware
Cosmic
Compile or Assemble Step:
Source File
Types
.asm
.c, .asm .c, .s
Required
Options
asm -li macrost7.asm
<NONE> +debug
Resulting File .obj, .lst
Types
.o, .dbg .o
Linker Step:
Required
Options
lyn macrost7.obj, macrost7
<NONE>
asm macrost7.asm -sym -fi=macrost7.map
<NONE>
Resulting File .map, .lst
Types
.abs
.st7
Converter
Step:
obsend macrost7, f, macrost7.s19, srec
or
obsend macrost7, f, macrost7.hex, intel
not
applicable
cvdwarf
Resulting
executable
file:
.s19 or .hex
.abs,
.elf
.elf
Necessary
Intermediate
Files:
.map, .lst
.o, .dbg <NONE>
Note:
The executable file(s), source files and any necessary intermediate files (these
are listed above and contain debug information necessary to the STVD) should be
located in the same project directory. You do this when you define your workspace.
It is always preferable to have access to all of the files generated by the development
toolchain. However, you can load *.s19 or *.hex binary files directly and have limited
debugging capabilities (refer to Section 3.8 on page 26).
21/82