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.

VxWorks 5.5<br />

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

Figure 2-1<br />

VxWorks Components<br />

Hardware-Independent Software<br />

Tools - Applications<br />

I/O System<br />

VxWorks Libraries<br />

TCP/IP<br />

File<br />

System<br />

Hardware-Dependent Software<br />

wind Kernel<br />

SCSI<br />

Driver<br />

<strong>BSP</strong><br />

Network<br />

Driver<br />

Hardware<br />

SCSI<br />

Controller<br />

Serial<br />

Controller<br />

Clock<br />

Timer<br />

Ethernet<br />

Controller<br />

The <strong>BSP</strong> routines are contained in a number of C and assembly files that you must<br />

create (or modify, if starting with a template <strong>BSP</strong>). The rest of this section<br />

summarizes <strong>BSP</strong> files and directories.<br />

2.2.1 <strong>BSP</strong> Source and Include Files<br />

This section describes the directories target/config/all and target/config/bspname.<br />

Strictly speaking, the files in target/config/all are not part of the <strong>BSP</strong>, but the<br />

modules defined there are shared by all <strong>BSP</strong>s. Familiarity with these modules is<br />

essential if you want to understand your particular <strong>BSP</strong>. When building project<br />

images, the component configlettes in target/config/comps/src replace the files in<br />

target/config/all.Aconfiglette is any C source code compiled by the project facility<br />

as a part of the project build step. Such files provide only some limited part of the<br />

final project configuration.<br />

12

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

Saved successfully!

Ooh no, something went wrong!