
VxWorks
BSP Developer’s Guide, 6.0
166
Because backslashes are not interpreted as an escape in \cs blocks, the backslash
itself must not be escaped. For example:
\cs
-> copy < DOS1:\subdir\file1
\ce
Resulting output:
-> copy < DOS1:\subdir\file1
The \cs and \ce tags can also serve as a general mechanism for creating ASCII
diagrams.
Command Syntax
Set off command syntax (for example, in shell scripts or Tcl procedures) with the
\ss and \se tags. Although nearly the same as a \cs block, the \ss block gives
different results. In contrast to \cs, angle-bracket markup (< and >) is interpreted
within an \ss block, as long as the angle brackets surround and touch a word.
Example input:
\ss
deflate < <infile> > <outfile>
\se
Resulting output:
deflate < infile > outfile
Board Diagrams
Board diagrams are required for the BOARD LAYOUT section of a BSP’s target.ref
file.
In VxWorks 5.5, board diagrams are typically provided in plain-text format.
Bracket plain-text board diagrams with the \bs and \be tags. Start a diagram with
\bs; end it with \be.
For VxWorks 6.0 BSPs, you strongly are encouraged to include a JPEG image file
in place of the plain-text board diagram (although the plain-text style is still
acceptable). If you include an image file, Wind River provides the following
guidelines:
■
Include you image in a /images directory in your BSP directory.
■
Label the location of the console port, network port, and power socket in your
image.
Komentáře k této Příručce