02.03.2014 Views

Tornado

Tornado

Tornado

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.

4<br />

Projects<br />

VxWorks is a flexible, scalable operating system with numerous facilities that can<br />

be tuned, and included or excluded, depending on the requirements of your<br />

application and the stage of the development cycle. For example, various<br />

networking and file system components may be required for one application and<br />

not another, and the project facility provides a simple means for either including<br />

them in, or excluding them from, a VxWorks application. In addition, it may be<br />

useful to build VxWorks with various target tools during development (such as the<br />

target-resident shell), and then exclude them from the production application.<br />

Once you create a customized VxWorks, you can boot your target with it and then<br />

download and run applications. You can also create a bootable application simply<br />

by linking your application to VxWorks and adding application startup calls to the<br />

VxWorks system initialization routines (see 4.4 Creating a Bootable Application,<br />

p.127).<br />

4<br />

4.3.1 Creating a Project for VxWorks<br />

All work that you do with the project facility, whether a downloadable application,<br />

a customized version of VxWorks, or a bootable application, takes place in the<br />

context of a project.<br />

Open a project workspace by clicking the Project button in the <strong>Tornado</strong> Launch<br />

window. If the Create Project or Open Workspace window is open (the default when<br />

you first open the <strong>Tornado</strong> Project window 6 ), click the New tab. Otherwise, click<br />

File>New Project. Then choose the selection for a bootable application, and click OK<br />

(Figure 4-17).<br />

The application wizard appears (Figure 4-18). This wizard is a tool that guides you<br />

through the steps of creating a new project.<br />

First, enter the full directory path and name of the directory you want to use for<br />

the project (only one project is allowed in a directory), and enter the project name.<br />

It is usually most convenient to use the same name for the directory and project,<br />

but it is not required.<br />

6. You can modify the default behavior by un-checking the Show this window on startup box<br />

at the bottom of the window.<br />

111

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

Saved successfully!

Ooh no, something went wrong!