![Phytec phyBoard Wega AM335x Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/phytec/phyboard-wega-am335x/phyboard-wega-am335x_application-manual_1554191021.webp)
Getting Started
©
PHYTEC Messtechnik GmbH 2014 L-792e_1
5
2
Application Programming
During this chapter you will learn how to build your own C/C++ applications for the target
with the help of Eclipse.
We assume that you have first completed our QuickStart Guide successfully.
To ensure successful introduction to the development with the
phyBOARD-Wega AM335x we strongly recommend continuing with our
preconfigured virtual machine hard disk image based on
Ubuntu
.
Nonetheless, if you want to use your already existing environment
section 4.5 "Setup your own Linux Host PC
system to get the same experience as with our virtual machine. Please be
advised that use of your already existing environment is on your own risk.
We can not guarantee to successfully support you with your own
environment.
2.1
Working with Eclipse
Now we start developing our own applications with the help of
Eclipse
. First we take a look
on the C programming language before we go on with programming a
QT
project. At the
end of this chapter we explain how to execute your written programs automatically when
booting the target.
2.1.1
Programming in the C/C++ Perspective
We are starting with the
C/C++
workbench. Therefore you will import an existing Eclipse
project into your workspace. The imported example project will be compiled with the cross
compiler. After that, you will copy and execute the newly created program on the target.
2.1.1.1
Work with the Demo Project
Click the
Eclipse icon
to start the application. You can find this icon on your desktop.