Difference between revisions of "Example atod"
Line 1: | Line 1: | ||
− | {{todo|Review(11.12.13-11:38->JG+)| | + | {{todo|Review(11.12.13-11:38->JG+)|Jgreene|project=oe 4,oe 5,ky,md,Review}} |
This procedure provides an overview of how to compile and run the ''atod_test'' C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK. | This procedure provides an overview of how to compile and run the ''atod_test'' C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK. | ||
− | ====1. Open the C/C++ editing perspective==== | + | ====1. Open the ''C/C++'' editing perspective==== |
From the Eclipse menubar select ''Window->Open Perspective->Other...'' | From the Eclipse menubar select ''Window->Open Perspective->Other...'' | ||
Line 15: | Line 15: | ||
From the Eclipse menubar select ''File->New->Makefile Project With Existing Code...'' | From the Eclipse menubar select ''File->New->Makefile Project With Existing Code...'' | ||
− | |||
− | |||
− | |||
− | |||
− | + | Click the ''Browse'' button and navigate to the directory of the ''atod_test'' example project. | |
+ | The ''atod_test'' example project source can be found in the projects/ subdirectory of the EMAC OE SDK root directory. The full path is:<br /> | ||
+ | <code bash> /path/to/sdk/EMAC-OE-arm-linux-gnueabi-SDK_4.0/projects/atod_test/ </code> | ||
+ | After you have successfully specified the path to the ''atod_test'' project directory, click ''Finish''.<br /> | ||
+ | [[File:Example_atod_Import_existing_code.jpg|450px|left|Figure 2: Specify the location of the atod_test project.]] | ||
− | = | + | <br clear=all> |
− | |||
− | |||
+ | ====Build it==== | ||
− | + | **This intentionally left blank pending new build system.** | |
− | |||
− | == | + | ==What ''atod_test'' does== |
The atod test reads all channels of an indexed atod device on an EMAC OE Linux operating system. | The atod test reads all channels of an indexed atod device on an EMAC OE Linux operating system. |
Revision as of 12:21, 13 November 2013
This procedure provides an overview of how to compile and run the atod_test C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK.
Contents
1. Open the C/C++ editing perspective
From the Eclipse menubar select Window->Open Perspective->Other...
Select C/C++ and click OK.
2. Open the atod_test project
From the Eclipse menubar select File->New->Makefile Project With Existing Code...
Click the Browse button and navigate to the directory of the atod_test example project.
The atod_test example project source can be found in the projects/ subdirectory of the EMAC OE SDK root directory. The full path is:
/path/to/sdk/EMAC-OE-arm-linux-gnueabi-SDK_4.0/projects/atod_test/
After you have successfully specified the path to the atod_test project directory, click Finish.
Build it
- This intentionally left blank pending new build system.**
What atod_test does
The atod test reads all channels of an indexed atod device on an EMAC OE Linux operating system.