
VxWorks
BSP Developer’s Guide, 6.0
170
new name is used in searching for possible hyperlinks to the output file, but
does not affect the name of the output file. Example:
\TITLE pc386/486 - BSP for PC 386/486
Including Image Files
The \IMAGE directive provides a means for including an image from another file.
\IMAGE filename
This directive specifies an image file. If the output format is HTML, this image
file is inserted into an <img> tag. If the output format is anything else, the file
is referenced by name in the text. The path of filename must be relative to the
directory containing the source file. Typically this directive is used only in the
target.ref files of BSPs. Examples:
\IMAGE images/board.jpg
\IMAGE images/switches.gif
B.7 Converting target.nr Files
Beginning with VxWorks 6.0, the target-information file has a new name and a new
format. The file target.nr has been renamed target.ref and is formatted with apigen
markup language instead of nroff/troff markup.
In a UNIX installation of VxWorks, you can convert existing target.nr files by
running the shell script mg2ref as follows:
% /host/host/bin/mg2ref target.nr
This will generate a target.ref file in the current directory.
In a Windows installation of VxWorks, you can convert existing target.nr files by
running the Tcl script mg2ref.tcl as follows:
c:\> host\x86-win32\bin\mg2ref.bat target.nr
NOTE: This directive must include the backslash in both apigen and refgen.
NOTE: This directive is available in apigen only.
Comentarios a estos manuales