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 />

twenty optional components that could be configured into the VxWorks system<br />

image. By the release of VxWorks 5.4, there were nearly 300, a number that does<br />

not include components offered by third party vendors. Using configuration<br />

header files contributed to development issues in three areas:<br />

Usability. As the system grew in complexity, it became increasingly difficult to<br />

visualize what was in the system. Reading through and modifying lines and lines<br />

of configuration source code became a challenge. Moreover, there was no<br />

mechanism to warn you if the system was misconfigured.<br />

Scalability. Looking at the configuration header files offered no visibility into<br />

dependencies among components. If you do not know what the dependencies are,<br />

you cannot know what is needed nor what can be left out.<br />

New releases. Configuration conflicts among system components occurred when<br />

releasing new product versions, third party components, and customer<br />

modifications because all source code changes occurred in the same two files,<br />

usrConfig.c and configAll.h.<br />

The implementation of the project facility as the configuring tool eliminates the<br />

problems above.<br />

The remainder of this chapter discusses how to work with the Component<br />

Description Language (CDL) and how to release and integrate new components<br />

into the system. Some of the examples in this chapter draw comparisons between<br />

the traditional use of configuration header files and the Tornado 2.x project facility<br />

to illustrate differences between the two schemes, as well as show their<br />

complementarity.<br />

This manual assumes you are already familiar with the functioning of Tornado,<br />

including its project facility. For more information, see the Tornado User’s <strong>Guide</strong>:<br />

Projects.<br />

NOTE: This release does not restrict you from using the configuration header files<br />

to configure VxWorks and applications. In some circumstances, using config.h and<br />

configAll.h complements the project facility.<br />

112

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

Saved successfully!

Ooh no, something went wrong!