[FE training-materials-updates] buildroot-appdev: finalize lab

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Apr 29 17:39:21 CEST 2015

Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=9acf0f9f8a8c57ddc2f604ddac04ac39bd952c5b


commit 9acf0f9f8a8c57ddc2f604ddac04ac39bd952c5b
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Wed Apr 29 17:38:27 2015 +0200

    buildroot-appdev: finalize lab
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


 labs/buildroot-appdev/buildroot-appdev.tex | 37 ++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/labs/buildroot-appdev/buildroot-appdev.tex b/labs/buildroot-appdev/buildroot-appdev.tex
index 06efe67..64396d5 100644
--- a/labs/buildroot-appdev/buildroot-appdev.tex
+++ b/labs/buildroot-appdev/buildroot-appdev.tex
@@ -254,3 +254,40 @@ using your normal version control system and relying on Buildroot to
 do all the configure, build and install steps for you.
 \section{Use the Eclipse IDE with Buildroot}
+Download Eclipse Luna from
+either the 32 bits or 64 bits Linux version depending on your
+installation. Extract the downloaded tarball to your home folder, and
+then start \code{eclipse} from the newly created \code{$HOME/eclipse/}
+Follow the instructions at
+to install the Buildroot plugin.
+Once the Buildroot plugin is installed, we need to adjust our Buildroot configuration so that it works properly with Eclipse:
+\item We need to tell Buildroot to generate a small configuration file
+  to let Eclipse know which toolchains are available. To do this, run
+  the Buildroot \code{menuconfig}, and in the \code{Toolchain} menu,
+  enable the option \code{Register toolchain within Eclipse Buildroot
+    plug-in}.
+\item We need to have a SFTP server, which Eclipse will use to upload
+  application binaries. The most lightweight option is to enable
+  \code{gesftpserver} in Buildroot.
+Run Buildroot's \code{make} command. After this, you should have a
+\code{$HOME/.buildroot-eclipse-toolchains} file. Reflash your system
+which now has {\em gesftpserver}, and also restart Eclipse.
+Then, follow the instructions at
+to create a new C project, and then the instructions at
+to run your application on the target.

More information about the training-materials-updates mailing list