Difference between revisions of "Example hello"

From wiki.emacinc.com
Jump to: navigation, search
m (Approved for Final Draft)
Line 1: Line 1:
{{todo|Review(01.02.14-14:09->JG+)|Jgreene|project=oe 4,oe 5,jg,md,Review}}
+
{{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 your basic "hello world" project.
+
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 just fine on any system for which it can be compiled.
+
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>
  
It prints '''Hello EMAC OE!''' to the console.
+
The program prints a ''hello'' message to the console.
  
 
===Usage Example===
 
===Usage Example===

Revision as of 14:30, 2 January 2014

TODO: {{#todo:FinalDraft(01.02.14-14:09->JG+);(01.02.14-14:30->MD+)|Jgreene|oe 4,oe 5,jg,md,FinalDraft,mg}}

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.

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.