VAR-SOM-MX6 Yocto GS eclipse: Difference between revisions
(Created page with "{{PageHeader|Programming Eclipse}} {{DocImage|category1=VAR-SOM-MX6|category2=Yocto}} __toc__ Variscite added the required packages to the build images fsl-image-test and fsl...") |
No edit summary |
||
Line 4: | Line 4: | ||
This guide will describe how to install and use Eclipse/Yocto to develop application to run on VAR-SOM-MX6 | This guide will describe how to install and use Eclipse/Yocto to develop application to run on VAR-SOM-MX6 | ||
= Host tools = | = Host tools = | ||
== Build == | |||
make sure you are your build directory and | make sure you are your build directory and environment are set correctly. | ||
<pre>$ . ./setup-environment build_mx6q/ | <pre>$ . ./setup-environment build_mx6q/ | ||
Line 11: | Line 11: | ||
Build the tools: | Build the tools: | ||
<pre>$ bitbake meta-ide-support | |||
$ bitbake meta-ide-support | <pre>$ bitbake meta-toolchain adt-installer | ||
$ bitbake meta-toolchain adt-installer | </pre> | ||
The result are a tools installer | The result are a tools installer | ||
<pre>$ ls tmp/deploy/sdk/ | |||
$ ls tmp/deploy/sdk/ | </pre> | ||
The results should be: | The results should be: | ||
adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh | adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh | ||
== Install == | |||
tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh | tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh |
Revision as of 11:44, 23 January 2014
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
Host tools
Build
make sure you are your build directory and environment are set correctly.
$ . ./setup-environment build_mx6q/
Build the tools:
$ bitbake meta-ide-support <pre>$ bitbake meta-toolchain adt-installer
The result are a tools installer
$ ls tmp/deploy/sdk/
The results should be: adt_installer.tar.bz2 poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
Install
tmp/deploy/sdk/poky-eglibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.5.1.sh
When system prompt "Enter target directory for SDK (default: /opt/poky/1.5.1):" hit enter.
When system prompt "You are about to install the SDK to "/opt/poky/1.5.1". Proceed[Y/n]?" hit Y and enter. An install 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.
<editsection-brackets> Eclipse installation
The folwinfg steps will guide you how to download and install Eclipse Keler CDT SR1. <editsection-brackets> Download and install
Download from:
$ cd ~/ $ tar xvf ../Downloads/eclipse-cpp-kepler-SR1-linux-gtk-x86_64.tar.gz
Run Eclipse:
$ eclipse/eclipse &
Set your workspace:
Image:Eclipse ws.jpg
You can select any folder you like.
Close the "wellcome window". You should be at: <editsection-brackets> Eclipse install additional packages <editsection-brackets> Yocto plug-in <editsection-brackets> Create and run simple application <editsection-brackets> Create application <editsection-brackets> Create communication link <editsection-brackets> Remote debug <editsection-brackets> Remote Run