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.

6<br />

Components<br />

6.1 Introduction<br />

Tornado 2.x introduces a new configuration method better suited to handling the<br />

increasing complexity of the VxWorks environment. This method uses Tornado<br />

2.x’s graphical configuration tool, the project facility, to provide users with a view<br />

into the configurable world of VxWorks. The project facility workspace displays a<br />

hierarchically organized list of optional software components that can easily be<br />

configured into VxWorks using point-and-click technology. (For Tornado 2.x,<br />

downloadable applications do not use components.)<br />

For most users, this GUI-level view of the configurable system is enough to satisfy<br />

their development needs. However, the project facility includes an API and a<br />

language, the Component Description Language (CDL), that are used to define<br />

components, their parameters, their dependencies, and their relationships with<br />

other components. This chapter discusses how to use these building blocks, the<br />

API and the CDL, to create or modify the software components that, when<br />

selected, are configured into your VxWorks system image or application.<br />

Components are a high-level means of grouping code and configuration data into<br />

units of functionality, such as “message logging.” Bootable projects are collections<br />

of components, their configuration parameter values, and their build options. In<br />

Tornado 2.x, using the project facility is the only way to manipulate projects; in<br />

other words, projects cannot be configured from the command line. (For more<br />

information about how to use the project facility, see the Tornado User’s <strong>Guide</strong>:<br />

Projects.)<br />

The traditional approach for configuring VxWorks, based on configuration header<br />

files, has become less and less effective coping with the rapidly increasing<br />

complexity of the software. When VxWorks 5.0 was released, there were about<br />

111

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

Saved successfully!

Ooh no, something went wrong!