03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

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.

Figure 2-12. Opening the C editor <strong>for</strong> editing the application source code<br />

Figure 2-13. Using the pre-processor directive to include library master header files<br />

At this point, the <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> is<br />

linked with the user project file, <strong>and</strong> hence the library functions can be exploited <strong>and</strong><br />

flawlessly compiled/linked with the user application.<br />

2.10 Library Integration into a Wind River Compiler<br />

Environment<br />

Chapter 2 Introduction<br />

As the Wind River Compiler is provided with the Eclipse based IDE called Wind River<br />

Workbench, the following instruction will describe the steps needed to add the <strong>Embedded</strong><br />

<strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> into a new project. All described<br />

steps assume that there is an existing Wind River Workbench project<br />

("MCLib_example_diab" name is used in the pictures below).<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Freescale Semiconductor, Inc. 123

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

Saved successfully!

Ooh no, something went wrong!