Difference between revisions of "IoTGateway/BSP/Linux/iMX6/Eclipse Plug-in"

From ESS-WIKI
Jump to: navigation, search
Line 7: Line 7:
 
Please perform following command to make toolchain installer.
 
Please perform following command to make toolchain installer.
  
<code>
+
$ bitbake fsl-image-x11 -c populate-sdk
$ bitbake fsl-image-x11 -c populate-sdk
+
 
</code>
+
<tt>
 +
$ bitbake fsl-image-x11 -c populate-sdk
 +
</tt>
  
 
Please change working directory to where installer located and perform the following command.
 
Please change working directory to where installer located and perform the following command.
  
<code>
+
$ sudo ./poky-eglibc-x86_64-fsl-image-x11-cortexa9hf-vfp-neon-toolchain-qt4-1.5.3.sh
$ sudo ./poky-eglibc-x86_64-fsl-image-x11-cortexa9hf-vfp-neon-toolchain-qt4-1.5.3.sh
 
</code>
 
 
   
 
   
 
===Qt5 SDK===
 
===Qt5 SDK===
 
Please perform following command to make toolchain installer.
 
Please perform following command to make toolchain installer.
  
<code>
+
$ bitbake fsl-image-x11-qt5 -c populate-sdk
$ bitbake fsl-image-x11-qt5 -c populate-sdk
 
</code>
 
  
 
Please change working directory to where installer located and perform the following command.
 
Please change working directory to where installer located and perform the following command.
  
<code>
+
$ sudo ./poky-eglibc-x86_64-fsl-image-x11-qt5-cortexa9hf-vfp-neon-toolchain-1.5.3.sh
$ sudo ./poky-eglibc-x86_64-fsl-image-x11-qt5-cortexa9hf-vfp-neon-toolchain-1.5.3.sh
 
</code>
 
  
 
<br>
 
<br>
Line 35: Line 31:
 
Please download "eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz" manually, put it to directory ~/FILES/ and perform the following commands:
 
Please download "eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz" manually, put it to directory ~/FILES/ and perform the following commands:
  
<code>
+
$ cd ~/
$ cd ~/
+
$ tar xvf ~/FILES/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
$ tar xvf ~/FILES/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
 
</code>
 
  
 
==Starting the Eclipse IDE==
 
==Starting the Eclipse IDE==

Revision as of 11:52, 9 March 2016

Prerequisites

Installing cross toolchain

Please use bitbake command to build one toolchain installer or get a pre-built one.

Qt4 SDK

Please perform following command to make toolchain installer.

$ bitbake fsl-image-x11 -c populate-sdk

$ bitbake fsl-image-x11 -c populate-sdk

Please change working directory to where installer located and perform the following command.

$ sudo ./poky-eglibc-x86_64-fsl-image-x11-cortexa9hf-vfp-neon-toolchain-qt4-1.5.3.sh

Qt5 SDK

Please perform following command to make toolchain installer.

$ bitbake fsl-image-x11-qt5 -c populate-sdk

Please change working directory to where installer located and perform the following command.

$ sudo ./poky-eglibc-x86_64-fsl-image-x11-qt5-cortexa9hf-vfp-neon-toolchain-1.5.3.sh


Working with Eclipse

Installing the Eclipse IDE

Please download "eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz" manually, put it to directory ~/FILES/ and perform the following commands:

$ cd ~/
$ tar xvf ~/FILES/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz

Starting the Eclipse IDE

$ source /opt/poky/1.5.3/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
$ ~/eclipse/eclipse
  1. select your workspace location
    2015-02-06 114519.png
  2. Make sure you are in your Workbench and select "Install New Software" from the "Help" pull-down menu.
    2015-03-10 101130.png
  3. Select "Kepler - http://download.eclipse.org/releases/kepler" from the "Work with:" pull-down menu.
    2015-02-10 140503.png
  4. Expand the box next to "Linux Tools" and select the LTTng - Linux Tracing Toolkit boxes.
    2015-01-27 152608.png
  5. Expand the box next to "Mobile and Device Development" and select the following boxes:
    2015-01-27 152635.png
    2015-02-10 141921.png
  6. Expand the box next to "Programming Languages" and select the following boxes:
    2015-01-27 152817.png
  7. Complete the installation and restart the Eclipse IDE.
    2015-01-27 153323.png


Installing the Plug-in

Configuring the Options

Creating the Project

Building the Project

Running the Application

Debugging the Application


References