Target Description File
This section describes details of the target description file. Some of the key words are actually strings that are basically copied to the
Makefile
that is created along with the generated code. For clarity, we call their type: makefile string. To use this feature, you should have certain basic knowledge aboutMakefile
language and syntax. Examples of possible values for important key words are included in the sample code listing.In particular, if you want to use
$STM_ROOT
as part of the value of a string or a makefile string key word, it is necessary to use a duplicate $ sign to correctly express the variable type. For example: “$$STM_ROOT”Note that some of the keywords contain OS path information. You should be aware of the correct directory separator character to use for the target operating system.
The internal double quote character shown here should be replaced by the single quote character. For example, the line “ /D “PRT” “ should be “ /D ‘PRT’ “.
The following example is taken from the
vxworks.rtrg
file for the target OS: VxWorks.#Simulated scheduler library:"$(STM_ROOT)/lib/VxWorks /libsim_scheduler$(CPU).a"