02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VxWorks 5.5<br />

<strong>BSP</strong> Developer’s <strong>Guide</strong><br />

Documentation Directories<br />

docs/vxworks/bsp/bspname<br />

This directory contains the HTML reference-page files for <strong>BSP</strong>s. All files are<br />

generated from the source files in target/config/bspname by the make process,<br />

which runs refgen. The files are:<br />

bspname.html<br />

Target-information reference page generated from target.nr.<br />

sysLib.html<br />

Reference page for sysLib.c.<br />

libIndex.html<br />

Index of the <strong>BSP</strong>s library-level reference pages.<br />

rtnIndex.html<br />

Index of the <strong>BSP</strong>s subroutine reference pages.<br />

9.5.2 Tools<br />

host/host/bin/refgen<br />

This tool is a Tcl script that generates HTML files from specially formatted<br />

source code, which may be C language modules, assembly language modules,<br />

or target.nr files. The command-line syntax and options for refgen are<br />

summarized in the reference page shown in L. Refgen.<br />

9.5.3 Text Formatting<br />

Markup Commands<br />

This section describes the use of the UNIX nroff/troff man macros that form the<br />

basis of the formatting mark-up used in source files.<br />

Understanding the mark-up commands is necessary for constructing the target.nr<br />

file. However, in .c and .s files, mark-up should be restricted to .CS/.CE for<br />

showing examples, or .IP for building lists—mark-up should be used only<br />

sparingly in these modules, since most are added automatically.<br />

The list below shows the mark-up used in Wind River reference documentation.<br />

Mark-up commands inherited from the UNIX man macros are named with two<br />

190

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!