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

■<br />

Include the <strong>BSP</strong> help files created by make man:<br />

docs/vxworks/bsp/bspname/*.*<br />

A.5 Summary<br />

You can model your porting activities on the following steps, which were taken at<br />

Wind River Systems, to update 1.1 <strong>BSP</strong>s to version 1.2:<br />

1. All Wind River <strong>BSP</strong>s were updated to use END-style drivers or modified BSD<br />

4.4 drivers compatible with the SENS 1.1 product. This occurred when the<br />

SENS product for Tornado 1.0.1 was delivered.<br />

2. Some <strong>BSP</strong>s and drivers received normal maintenance patches. These had<br />

nothing to do with the implementation of projects or components.<br />

3. The macros <strong>BSP</strong>_VERSION, <strong>BSP</strong>_VER_1_2, and <strong>BSP</strong>_REV were added to<br />

config.h. These macros must be inserted prior to the statement #include<br />

"configAll.h", as it appears in the following file excerpt:<br />

...<br />

/* New <strong>BSP</strong> version/revision id */<br />

#define <strong>BSP</strong>_VER_1_2 1<br />

#define <strong>BSP</strong>_VER_1_1 1 /* compatible with 1.2 */<br />

#define <strong>BSP</strong>_VERSION "1.2"<br />

#define <strong>BSP</strong>_REV "/0" /* increment with each revision */<br />

#include "configAll.h"<br />

...<br />

4. The prjParams.h file was included conditionally at the end of the config.h file,<br />

as follows:<br />

#if defined(PRJ_BUILD)<br />

# include "prjParams.h"<br />

#endif<br />

5. The README file was modified to reflect the new release of the <strong>BSP</strong>. A new<br />

entry was added to the top of the list to identify the new version and revision<br />

of the <strong>BSP</strong>, for example:<br />

1.2/0 - First release for Tornado 2.0.<br />

208

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

Saved successfully!

Ooh no, something went wrong!