Difference between revisions of "Platforms pcapp"

From DiLab
Jump to: navigation, search
(New page: {{TocRight}} "'''pcapp'''" is the platform for applications that are made for a PC host. The PC hardware is available to the applications in contrary to the "pc" platform where most of it ...)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TocRight}}
{{TocRight}}
"'''pcapp'''" is the platform for applications that are made for a PC host. The PC hardware is available to the applications in contrary to the "pc" platform where most of it is simulated.
"'''pcapp'''" is the platform for PC applications that are made to run on a PC host. The PC hardware is available to the applications in contrary to the "pc" platform where the most of it, such as USART, is simulated.


===Compile example===
===Compile example===
Line 6: Line 6:


===Application execution example===
===Application execution example===
Note that no upload is necessary.
You can find the compiled executable in the build/pcapp/ directory, or run it as follows:
You can find the compiled executable in the build/pcapp/ directory, or run it as follows:
make pcapp run
make pcapp run


===Dependencies===
===Dependencies===
You should have gcc compiler installed on your PC.

We have successfully compiled applications on Ubuntu and Mac systems.
Some work has been done in Windows-Cygwin environment.

Latest revision as of 23:13, 1 September 2010

"pcapp" is the platform for PC applications that are made to run on a PC host. The PC hardware is available to the applications in contrary to the "pc" platform where the most of it, such as USART, is simulated.

Compile example

make pcapp

Application execution example

Note that no upload is necessary. You can find the compiled executable in the build/pcapp/ directory, or run it as follows:

make pcapp run

Dependencies

You should have gcc compiler installed on your PC.

We have successfully compiled applications on Ubuntu and Mac systems. Some work has been done in Windows-Cygwin environment.