Difference between revisions of "Example hello"
m (Approved for Final Draft) |
|||
Line 1: | Line 1: | ||
− | {{todo| | + | {{todo|FinalDraft(01.02.14-14:09->JG+);(01.02.14-14:30->MD+)|Jgreene|project=oe 4,oe 5,jg,md,FinalDraft,mg}} |
This is a guide to the <code>hello</code> C example project included in the EMAC OE SDK. | This is a guide to the <code>hello</code> C example project included in the EMAC OE SDK. | ||
− | This is | + | This is a basic "hello world" project. |
The <code>hello</code> project builds one executable: <code>hello</code>. | The <code>hello</code> project builds one executable: <code>hello</code>. | ||
Line 28: | Line 28: | ||
===Hardware Requirements=== | ===Hardware Requirements=== | ||
− | The <code>hello</code> C example project will run | + | The <code>hello</code> C example project will run on any system for which it can be compiled. |
===Using <code>timer</code>=== | ===Using <code>timer</code>=== | ||
Line 36: | Line 36: | ||
<code>./hello</code> | <code>./hello</code> | ||
− | + | The program prints a ''hello'' message to the console. | |
===Usage Example=== | ===Usage Example=== |
Revision as of 14:30, 2 January 2014
This is a guide to the hello
C example project included in the EMAC OE SDK.
This is a basic "hello world" project.
The hello
project builds one executable: hello
.
Contents
Opening, Building and Uploading the Project Files
1. Open the C/C++ editing perspective.
stub
2. Open the project files.
stub
3. Build the project.
stub
4. Upload the executables to the target system.
stub
Usage and Behavior
Hardware Requirements
The hello
C example project will run on any system for which it can be compiled.
Using timer
The hello
program is executed from the console. It takes no parameters.
./hello
The program prints a hello message to the console.
Usage Example
root@som9g20:/tmp# ./hello
Hello EMAC OE!
Summary
The hello
C example project included is your basic "hello world" project.