Difference between revisions of "Example hello"

From wiki.emacinc.com
Jump to: navigation, search
m (Approved for Final Draft)
(Usage Example)
Line 43: Line 43:
 
root@som9g20:/tmp# ./hello
 
root@som9g20:/tmp# ./hello
 
Hello EMAC OE!
 
Hello EMAC OE!
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 15:50, 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.