Download 60 The Targeting Expert

Transcript
Chapter
60
The Targeting Expert
Structure of the Configuration File cm_conf.def
Note:
All the descriptions in this section are valid for the SDL to C compiler Cmicro only.
Compiler
All the compilers currently supported by a SDL to C compiler library
are listed in the c*_conf.def file like displayed in Example 473.
Example 473: Structure of a compiler entry ––––––––––––––––––––––
BEGIN
IAR_C51
IAR systems compiler of 8051
COMPILER
Microcontroller compiler
END
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
The first and the last line of the example simply marks the start and the
end of one entry.
Line 2 is the flag which will be used to include the appropriate compiler
section in the used library (see ml_typ.h for Cmicro and scttypes.h
for Cadvanced).
Line 3 is the text which will be shown in the Targeting Experts user interface.
Line 4 must be COMPILER in this case.
Line 5 is the compiler group this compiler should be associated with. In
the distributed files c*_conf.def there are three groups, namely:
–
–
–
Micro controller compiler
PC compiler
Workstation compiler
Communications Link
Note:
This section is valid only if the Cmicro SDL to C Compiler is used.
The example below shows the structure of one entry.
2900
Telelogic Tau 4.5 User’s Manual
July 2003