Difference between revisions of "Example hello"
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 14:50, 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.