02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

E<br />

Component Language<br />

}<br />

// default is none - in which case the user<br />

// must define a value to use the component.<br />

// for parameters of type "exists," the<br />

// value is TRUE if the macro should be<br />

// defined, or FALSE if undefined.<br />

E.1.3 Folder Properties<br />

The project facility component hierarchy uses folders to group components<br />

logically. Instead of presenting all components in a flat list, as in configAll.h, the<br />

project facility presents them hierarchically. For example, top-level folders might<br />

organize components under headings such as network, drivers, OS, and<br />

application.<br />

Folder folder {<br />

NAME name // readable name (e.g., "foo libraries").<br />

SYNOPSIS desc // one-line description<br />

CHILDREN i1 i2 .. // containers and components<br />

// that belong to this container.<br />

}<br />

DEFAULTS i1 i2 .. // default CHILDREN.<br />

// if the folder represents a complex<br />

// subsystem (such as the WDB agent),<br />

// this is used to suggest to the user<br />

// which components in the folder are<br />

// considered "default." That way the user<br />

// can add the whole subsystem at once,<br />

// and a reasonable set of subcomponents<br />

// will be chosen.<br />

E<br />

E.1.4 Selection Properties<br />

Selection selection {<br />

NAME name // readable name (for example , "foo<br />

// communication path")<br />

SYNOPSIS desc // one-line description<br />

COUNT min-max // range of allowed subcomponents.<br />

// 1-1 means exactly one.<br />

// 1- means one or more.<br />

CHILDREN i1 i2 .. // components from which to select<br />

DEFAULTS i1 i2 .. // default CHILDREN.<br />

235

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

Saved successfully!

Ooh no, something went wrong!