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

4.3.6 Booting VxWorks<br />

For information about booting VxWorks (and bootable applications) see<br />

2.6 Booting VxWorks, p.45. VxWorks images for the target simulator can be<br />

downloaded and booted with the context-menu Start command.<br />

4<br />

4.4 Creating a Bootable Application<br />

A bootable application is completely initialized and functional after a target has<br />

been booted, without requiring interaction with <strong>Tornado</strong> development tools.<br />

Once you have created and tested a downloadable application and a customized<br />

version of VxWorks with which your application is designed to run, creating a<br />

bootable application is straightforward. To do so, you need to add application<br />

modules to a VxWorks project, and include application startup calls in the<br />

VxWorks system initialization routines. There are various ways to go about this,<br />

but if you have already created one or more projects for application code and a<br />

project for a custom VxWorks, you could simply:<br />

■<br />

■<br />

■<br />

Add the application project(s) to the VxWorks workspace (or vice versa).<br />

Edit the VxWorks initialization file usrAppInit.c, adding calls to the<br />

application’s initialization and startup routines.<br />

Use the project facility to help scale VxWorks.<br />

■<br />

Build the bootable application.<br />

For information about developing applications with the project facility, see<br />

4.2 Creating a Downloadable Application, p.95. For information about configuring<br />

and building VxWorks, see 4.3 Creating a Custom VxWorks Image, p.110. For<br />

information about additional build options, see 4.5 Working With Build<br />

Specifications, p.128.<br />

4.4.1 Using Automated Scaling of VxWorks<br />

The auto scale feature of the project facility determines if your code, or your<br />

custom version of VxWorks, requires any components that are not included in<br />

your VxWorks project, and adds them as required. It also provides information<br />

127

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

Saved successfully!

Ooh no, something went wrong!