VAR-SOM-MX6 Yocto GS eclipse: Difference between revisions

From Variscite Wiki
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageHeader|Programming with Eclipse and Yocto}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
{{PageHeader|VAR-SOM-MX6 Programming with Eclipse and Yocto}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__
 
Variscite's Yocto release includes the required packages to the build images fsl-image-test and fsl-image-gui with Eclipse debug support. This guide will describe how to use Eclipse to develop applications to run on the VAR-SOM-MX6. <br/>Detail information can be found:<br/> [http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow]<br/>


Variscite added the required packages to the build images fsl-image-test and fsl-image-gui to enable Eclipse based Yocto development.
This guide will describe how to install and use Eclipse/Yocto to develop application to run on VAR-SOM-MX6.
<br/>Detail information can be found:<br/>
[http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow]<br/>
We tried to make this wiki as simple as possible.
= Host tools =
= Host tools =
== Build ==
== Build ==
make sure you are your build directory and environment are set correctly.


Change directory to your build directory and verify that your environment settings is set correctly.
<pre>$&nbsp;. ./setup-environment build_mx6q/
<pre>$&nbsp;. ./setup-environment build_mx6q/
</pre>
</pre>
Build the tools:
Build the tools:
<pre>$&nbsp;bitbake meta-ide-support
<pre>$&nbsp;bitbake meta-ide-support
$&nbsp;bitbake meta-toolchain adt-installer
$&nbsp;bitbake meta-toolchain adt-installer
</pre>
</pre>
The result are a tools installer
The build creates the tools installer
<pre>$&nbsp;ls tmp/deploy/sdk/
<pre>$&nbsp;ls tmp/deploy/sdk/
</pre>
</pre>
The results should be:<br/>
The outcome should be:<br/> adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh <br/>
adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
 
== Install ==


== Install SDK ==
<pre>$&nbsp;tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
<pre>$&nbsp;tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
</pre>
</pre>
When system prompts "Enter target directory for SDK (default: /opt/poky/1.5.1):" hit enter.


When system prompt "Enter target directory for SDK (default: /opt/poky/1.5.1):" hit enter.
When system prompts "You are about to install the SDK to "/opt/poky/1.5.1". Proceed[Y/n]?" hit Y and enter.<br/> <br/>An installation log should look like: <br/>


When system prompt "You are about to install the SDK to "/opt/poky/1.5.1". Proceed[Y/n]?" hit Y and enter.<br/>
<br/>An install log should look like:
<pre>&nbsp;tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
<pre>&nbsp;tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
&nbsp;Enter target directory for SDK (default: /opt/poky/1.5.1):
&nbsp;Enter target directory for SDK (default: /opt/poky/1.5.1):
Line 39: Line 33:
&nbsp;SDK has been successfully set up and is ready to be used.
&nbsp;SDK has been successfully set up and is ready to be used.
</pre>
</pre>
= Eclipse installation =


= Eclipse installation =
The following steps will guide you how to download and install Eclipse Kepler CDT SR1.


The following steps will guide you how to download and install Eclipse Keler CDT SR1.
== Download and install ==
== Download and install ==


Download from:
Download from:


http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz
[http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz]
<pre>$&nbsp;cd ~/
<pre>$&nbsp;cd ~/
$&nbsp;tar xvf ../Downloads/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz
$&nbsp;tar xvf ../Downloads/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz
Line 54: Line 48:
<pre>$&nbsp;eclipse/eclipse &
<pre>$&nbsp;eclipse/eclipse &
</pre>
</pre>
Set your workspace:<br/>
Set your workspace:<br/> [[File:Eclipse ws.jpg]]<br/> You can select any folder you like.<br/> Close the "welcome window".<br/> You should be at:<br/> [[File:Eclipse main.jpg]]<br/>
[[File:Eclipse_ws.jpg]]<br/>
 
You can select any folder you like.<br/>
== Eclipse installations of additional packages ==
Close the "welcome window".<br/>
 
You should be at:<br/>
Based on: [http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow]
[[File:Eclipse_main.jpg]]<br/>


== Eclipse install additional packages ==
Based on:
[http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow]
#Start the Eclipse IDE.
#Start the Eclipse IDE.
#Make sure you are in your Workbench and select "Install New Software" from the "Help" pull-down menu.
#Make sure you are in your Workbench and select "Install New Software" from the "Help" pull-down menu.
#Select Kepler - http://download.eclipse.org/releases/kepler from the "Work with:" pull-down menu.
#Select Kepler - [http://download.eclipse.org/releases/kepler http://download.eclipse.org/releases/kepler] from the "Work with:" pull-down menu.
#Expand the box next to "Linux Tools" and select the LTTng - Linux Tracing Toolkit boxes.
#Expand the box next to "Linux Tools" and select the LTTng - Linux Tracing Toolkit boxes.
#Expand the box next to "Mobile and Device Development" and select the following boxes:
#Expand the box next to "Mobile and Device Development" and select the following boxes:
Line 77: Line 67:
#Expand the box next to "Programming Languages" and select the Autotools Support for CDT and C/C++ Development Tools boxes.
#Expand the box next to "Programming Languages" and select the Autotools Support for CDT and C/C++ Development Tools boxes.
#Complete the installation and restart the Eclipse IDE.<br/>
#Complete the installation and restart the Eclipse IDE.<br/>
{{note|Comment:<br/>Some of the packages may be already installed.|info}}
{{note|Comment:<br/>Some of the packages may be already installed.|info}} An install window example:<br/> [[File:Eclipse install add.jpg]] <br/>
An install window example:<br/>
[[File:Eclipse_install_add.jpg]]


== Yocto plug-in ==
== Yocto plug-in ==
There are more then one option to get the plug-in. We selected to use:
 
Pre-built Plug-in from the Yocto Project Eclipse Update Site
There are more then one option to get the plug-in. We selected to use: Pre-built Plug-in from the Yocto Project Eclipse Update Site


To install the Eclipse Yocto Plug-in from the update site, follow these steps:
To install the Eclipse Yocto Plug-in from the update site, follow these steps:
#Start up the Eclipse IDE.
#Start up the Eclipse IDE.
#In Eclipse, select "Install New Software" from the "Help" menu.
#In Eclipse, select "Install New Software" from the "Help" menu.
#Click "Add..." in the "Work with:" area.
#Click "Add..." in the "Work with:" area.
#Enter http://downloads.yoctoproject.org/releases/eclipse-plugin/1.5/kepler in the URL field and provide a meaningful name in the "Name" field.
#Enter [http://downloads.yoctoproject.org/releases/eclipse-plugin/1.5/kepler http://downloads.yoctoproject.org/releases/eclipse-plugin/1.5/kepler] in the URL field and provide a meaningful name in the "Name" field.
#Click "OK" to have the entry added to the "Work with:" drop-down list.
#Click "OK" to have the entry added to the "Work with:" drop-down list.
#Select the entry for the plug-in from the "Work with:" drop-down list.
#Select the entry for the plug-in from the "Work with:" drop-down list.
#Check the boxes next to Yocto Project ADT Plug-in, Yocto Project Bitbake Commander Plug-in, and Yocto Project Documentation plug-in.
#Check the boxes next to Yocto Project ADT Plug-in, Yocto Project Bitbake Commander Plug-in, and Yocto Project Documentation plug-in.
#Complete the remaining software installation steps and then restart the Eclipse IDE to finish the installation of the plug-in. <br/>
#Complete the remaining software installation steps and then restart the Eclipse IDE to finish the installation of the plug-in. <br/>
[[File:Eclipse_install_yoctop1.jpg]]
<br/>
 
<br/> [[File:Eclipse install yoctop1.jpg]]  
<br/>
= Configuring the Eclipse Yocto Plug-in =
= Configuring the Eclipse Yocto Plug-in =
Configuring the Eclipse Yocto Plug-in involves setting the Cross Compiler options and the Target options. The configurations you choose become the default settings for all projects. You do have opportunities to change them later when you configure the project (see the following section).


To start, you need to do the following from within the Eclipse IDE:
Configuring the Eclipse Yocto Plug-in involves setting up the Cross Compiler options and the Target options. The configurations you choose become the default settings for all projects. You have opportunities to change them later when you configure the project (see the following section). To start, you need to do the following from within the Eclipse IDE:


    Choose "Preferences" from the "Windows" menu to display the Preferences Dialog.
*Choose "Preferences" from the "Windows" menu to display the Preferences Dialog.
 
*Click "Yocto Project ADT".
    Click "Yocto Project ADT".  


== Configuring the Cross-Compiler Options ==
== Configuring the Cross-Compiler Options ==
Line 109: Line 97:
To configure the Cross Compiler Options, you must select the type of toolchain, point to the toolchain, specify the sysroot location, and select the target architecture.
To configure the Cross Compiler Options, you must select the type of toolchain, point to the toolchain, specify the sysroot location, and select the target architecture.


    Selecting the Toolchain Type: Choose between Standalone pre-built toolchain and Build system derived toolchain for Cross Compiler Options.
*Selecting the Toolchain Type:


        Standalone Pre-built Toolchain: Select this mode when you are using a stand-alone cross-toolchain. For example, suppose you are an application developer and do not need to build a target image. Instead, you just want to use an architecture-specific toolchain on an existing kernel and target root filesystem.
If you build your target based on Variscite WIKI your Toolchanin path will be /home/&lt;uname&gt;/var-som-mx6-dora-v3/build_mx6q. Otherwise point to your build folder.


        Build System Derived Toolchain: Select this mode if the cross-toolchain has been installed and built as part of the Build Directory. When you select Build system derived toolchain, you are using the toolchain bundled inside the Build Directory.
*Specify the Sysroot Location:


    Point to the Toolchain: If you are using a stand-alone pre-built toolchain, you should be pointing to where it is installed. If you used the ADT Installer script and accepted the default installation directory, the toolchain will be installed in the /opt/poky/1.6 directory. Sections "Configuring and Running the ADT Installer Script" and "Using a Cross-Toolchain Tarball" in the Yocto Project Application Developer's Guide describe how to install a stand-alone cross-toolchain.
If you build your target based on Variscite WIKI your Toolchanin path will be /home/&lt;uname&gt;/var-som-mx6-dora-v3/build_mx6q/tmp/sysroots/varsommx6q. Otherwise point to your build folder.


    If you are using a system-derived toolchain, the path you provide for the Toolchain Root Location field is the Build Directory. See the "Using BitBake and the Build Directory" section in the Yocto Project Application Developer's Guide for information on how to install the toolchain into the Build Directory.
This location is where the root filesystem for the target hardware resides.


    Specify the Sysroot Location: This location is where the root filesystem for the target hardware resides. If you used the ADT Installer script and accepted the default installation directory, then the location is /opt/poky/<release>. Additionally, when you use the ADT Installer script, the same location is used for the QEMU user-space tools and the NFS boot process.
*Select the Target Architecture: The target architecture will be selected automatically based on your build.<br/>
<br/>
<br/> [[File:Eclipse adt conf.jpg]]
<br/>
= Create and run a simple application =


    If you used either of the other two methods to install the toolchain or did not accept the ADT Installer script's default installation directory, then the location of the sysroot filesystem depends on where you separately extracted and installed the filesystem.
== Create the Project ==


    For information on how to install the toolchain and on how to extract and install the sysroot filesystem, see the "Installing the ADT and Toolchains" section.
You can create two types of projects: Autotools-based, or Makefile-based. This section describes how to create Autotools-based projects from within the Eclipse IDE. To create a project based on a Yocto template and then display the source code, follow these steps:


    Select the Target Architecture: The target architecture is the type of hardware you are going to use or emulate. Use the pull-down Target Architecture menu to make your selection. The pull-down menu should have the supported architectures. If the architecture you need is not listed in the menu, you will need to build the image. See the "Building an Image" section of the Yocto Project Quick Start for more information.
*File->New->C Project
*Click Yocto Project ADT Project.
*Select Hello World ANSI C Autotools Project. This is an Autotools-based project based on a Yocto template.


== Configuring the Target Options ==
[[File:Prj1.jpg]]


You can choose to emulate hardware using the QEMU emulator, or you can choose to run your image on actual hardware.
*Put a name in the Project name: field. Do not use hyphens as part of the name.
*Click "Next".
*Add information in the Author and Copyright notice fields.
*Be sure the License field is correct.


    QEMU: Select this option if you will be using the QEMU emulator. If you are using the emulator, you also need to locate the kernel and specify any custom options.
[[File:Prj2.jpg]]


    If you selected Build system derived toolchain, the target kernel you built will be located in the Build Directory in tmp/deploy/images/<machine> directory. If you selected Standalone pre-built toolchain, the pre-built image you downloaded is located in the directory you specified when you downloaded the image.
*Click "Finish".
*If the "open perspective" prompt appears, click "Yes" so that you in the C/C++ perspective.
*The left-hand navigation pane shows your project. You can display your source by double clicking the project's source file.
*"hit Ctrl B" It will build your project.


    Most custom options are for advanced QEMU users to further customize their QEMU instance. These options are specified between paired angled brackets. Some options must be specified outside the brackets. In particular, the options serial, nographic, and kvm must all be outside the brackets. Use the man qemu command to get help on all the options and their use. The following is an example:
[[File:Prj3.jpg]]


        serial ‘<-m 256 -full-screen>’
== Create communication link ==
                                   


    Regardless of the mode, Sysroot is already defined as part of the Cross-Compiler Options configuration in the Sysroot Location: field.
Using the console of your target set a password with "passwd" command. choose a simple one named "root". The target should be connected to the network via Ethernet or WIFI. Use the "ifconfig" command to get the target ip address. From Eclipse


    External HW: Select this option if you will be using actual hardware.
*Window->Open Perspective->Other
*Double click on ''Remote System Explorer''


Click the "OK" to save your plug-in configurations.
[[File:Tcf1.jpg]]
 
*In the left bar right click and New->Connection
*Choose TCF and Next
 
[[File:Tcf2.jpg]]
 
*Set the Host name to the target IP
 
[[File:Tcf3.jpg]]
 
*Hit Finish
*On the left bar right click on the taget IP and select connect
*Set "User ID:" to root, "Password:" to root and check the "Save password"
 
[[File:Tcf4.jpg]]
 
*enter the root password again in the next poop up.
 
Once connected you can browse target file system, browse target process and lunch a terminal to the target.


= Create and run simple application =
== Create application ==
== Create communication link ==
== Remote debug ==
== Remote debug ==
== Remote Run ==
 
Follow the below steps to remotely debug your application on the VAR-SOM-MX6.
 
*Select "Debug Configurations..." from the "Run" menu.
*In the left area, expand C/C++Remote Application.
*Locate your project and select it to pop up a new tabbed view in the Debug Configurations Dialog.
*Enter the absolute path which you want to deploy the application to. Use the "Remote Absolute File Path for C/C++Application:" field. For example, enter /home/root/hello
 
[[File:Dbg1.jpg]]
 
*Click on the "Debugger" tab to see the cross-tool debugger you are using.
*Click on the "Main" tab.
*Hit Debug
*Accept the debug perspective.
 
[[File:Dbg2.jpg]]

Latest revision as of 06:42, 18 June 2014

VAR-SOM-MX6 Programming with Eclipse and Yocto

Variscite's Yocto release includes the required packages to the build images fsl-image-test and fsl-image-gui with Eclipse debug support. This guide will describe how to use Eclipse to develop applications to run on the VAR-SOM-MX6.
Detail information can be found:
http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow

Host tools

Build

Change directory to your build directory and verify that your environment settings is set correctly.

$ . ./setup-environment build_mx6q/

Build the tools:

$ bitbake meta-ide-support
$ bitbake meta-toolchain adt-installer

The build creates the tools installer

$ ls tmp/deploy/sdk/

The outcome should be:
adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh

Install SDK

$ tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh

When system prompts "Enter target directory for SDK (default: /opt/poky/1.5.1):" hit enter.

When system prompts "You are about to install the SDK to "/opt/poky/1.5.1". Proceed[Y/n]?" hit Y and enter.

An installation log should look like:

 tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
 Enter target directory for SDK (default: /opt/poky/1.5.1):
 You are about to install the SDK to "/opt/poky/1.5.1". Proceed[Y/n]?Y
 Extracting SDK...done
 Setting it up...done
 SDK has been successfully set up and is ready to be used.

Eclipse installation

The following steps will guide you how to download and install Eclipse Kepler CDT SR1.

Download and install

Download from:

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/kepler/SR1/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz

$ cd ~/
$ tar xvf ../Downloads/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz

Run Eclipse:

$ eclipse/eclipse &

Set your workspace:
Eclipse ws.jpg
You can select any folder you like.
Close the "welcome window".
You should be at:
Eclipse main.jpg

Eclipse installations of additional packages

Based on: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#application-development-workflow

  1. Start the Eclipse IDE.
  2. Make sure you are in your Workbench and select "Install New Software" from the "Help" pull-down menu.
  3. Select Kepler - http://download.eclipse.org/releases/kepler from the "Work with:" pull-down menu.
  4. Expand the box next to "Linux Tools" and select the LTTng - Linux Tracing Toolkit boxes.
  5. Expand the box next to "Mobile and Device Development" and select the following boxes:
    1. C/C++ Remote Launch
    2. Remote System Explorer End-user Runtime
    3. Remote System Explorer User Actions
    4. Target Management Terminal
    5. TCF Remote System Explorer add-in
    6. TCF Target Explorer
  6. Expand the box next to "Programming Languages" and select the Autotools Support for CDT and C/C++ Development Tools boxes.
  7. Complete the installation and restart the Eclipse IDE.
Comment:
Some of the packages may be already installed.

An install window example:
Eclipse install add.jpg

Yocto plug-in

There are more then one option to get the plug-in. We selected to use: Pre-built Plug-in from the Yocto Project Eclipse Update Site

To install the Eclipse Yocto Plug-in from the update site, follow these steps:

  1. Start up the Eclipse IDE.
  2. In Eclipse, select "Install New Software" from the "Help" menu.
  3. Click "Add..." in the "Work with:" area.
  4. Enter http://downloads.yoctoproject.org/releases/eclipse-plugin/1.5/kepler in the URL field and provide a meaningful name in the "Name" field.
  5. Click "OK" to have the entry added to the "Work with:" drop-down list.
  6. Select the entry for the plug-in from the "Work with:" drop-down list.
  7. Check the boxes next to Yocto Project ADT Plug-in, Yocto Project Bitbake Commander Plug-in, and Yocto Project Documentation plug-in.
  8. Complete the remaining software installation steps and then restart the Eclipse IDE to finish the installation of the plug-in.



Eclipse install yoctop1.jpg

Configuring the Eclipse Yocto Plug-in

Configuring the Eclipse Yocto Plug-in involves setting up the Cross Compiler options and the Target options. The configurations you choose become the default settings for all projects. You have opportunities to change them later when you configure the project (see the following section). To start, you need to do the following from within the Eclipse IDE:

  • Choose "Preferences" from the "Windows" menu to display the Preferences Dialog.
  • Click "Yocto Project ADT".

Configuring the Cross-Compiler Options

To configure the Cross Compiler Options, you must select the type of toolchain, point to the toolchain, specify the sysroot location, and select the target architecture.

  • Selecting the Toolchain Type:

If you build your target based on Variscite WIKI your Toolchanin path will be /home/<uname>/var-som-mx6-dora-v3/build_mx6q. Otherwise point to your build folder.

  • Specify the Sysroot Location:

If you build your target based on Variscite WIKI your Toolchanin path will be /home/<uname>/var-som-mx6-dora-v3/build_mx6q/tmp/sysroots/varsommx6q. Otherwise point to your build folder.

This location is where the root filesystem for the target hardware resides.

  • Select the Target Architecture: The target architecture will be selected automatically based on your build.



Eclipse adt conf.jpg

Create and run a simple application

Create the Project

You can create two types of projects: Autotools-based, or Makefile-based. This section describes how to create Autotools-based projects from within the Eclipse IDE. To create a project based on a Yocto template and then display the source code, follow these steps:

  • File->New->C Project
  • Click Yocto Project ADT Project.
  • Select Hello World ANSI C Autotools Project. This is an Autotools-based project based on a Yocto template.

Prj1.jpg

  • Put a name in the Project name: field. Do not use hyphens as part of the name.
  • Click "Next".
  • Add information in the Author and Copyright notice fields.
  • Be sure the License field is correct.

Prj2.jpg

  • Click "Finish".
  • If the "open perspective" prompt appears, click "Yes" so that you in the C/C++ perspective.
  • The left-hand navigation pane shows your project. You can display your source by double clicking the project's source file.
  • "hit Ctrl B" It will build your project.

Prj3.jpg

Create communication link

Using the console of your target set a password with "passwd" command. choose a simple one named "root". The target should be connected to the network via Ethernet or WIFI. Use the "ifconfig" command to get the target ip address. From Eclipse

  • Window->Open Perspective->Other
  • Double click on Remote System Explorer

Tcf1.jpg

  • In the left bar right click and New->Connection
  • Choose TCF and Next

Tcf2.jpg

  • Set the Host name to the target IP

Tcf3.jpg

  • Hit Finish
  • On the left bar right click on the taget IP and select connect
  • Set "User ID:" to root, "Password:" to root and check the "Save password"

Tcf4.jpg

  • enter the root password again in the next poop up.

Once connected you can browse target file system, browse target process and lunch a terminal to the target.

Remote debug

Follow the below steps to remotely debug your application on the VAR-SOM-MX6.

  • Select "Debug Configurations..." from the "Run" menu.
  • In the left area, expand C/C++Remote Application.
  • Locate your project and select it to pop up a new tabbed view in the Debug Configurations Dialog.
  • Enter the absolute path which you want to deploy the application to. Use the "Remote Absolute File Path for C/C++Application:" field. For example, enter /home/root/hello

Dbg1.jpg

  • Click on the "Debugger" tab to see the cross-tool debugger you are using.
  • Click on the "Main" tab.
  • Hit Debug
  • Accept the debug perspective.

Dbg2.jpg