Filter results by

Eclipse Desktop IDE for Windows

Eclipse provides sophisticated development environments in both locally hosted and Web-hosted formats. Here we walk you through installation of the desktop version.

This installation does not support the ARTIK SDK. it has been superseded by the article here.

Installing First Time

To start using the Eclipse Desktop environment, you'll need to install:
– Eclipse itself and its ARM® plug-ins
– Linaro GCC cross compiler
– GNU ARM Eclipse build tools.

You will only need to do this once.

Install Eclipse and its ARM Plug-ins

  1. Download Eclipse desktop for your host system from the Eclipse site or site of your choice. For example:
  2. Run it to install the Eclipse IDE for C/C++ Developers.

  3. Set up GNU ARM Eclipse Plug-Ins

    • Select Help » Install new software, then click on the "Add" button.

    • Name
    	GNU ARM Eclipse Plug-ins
    • Location

    The plug-in will appear in the list as shown.

  4. Click the check box and hit Next to see the list of items to be installed.

  5. Click Next again and accept the terms for installation.

  6. Click Finish and follow the messages through to complete the installation.

Install the GCC Linaro Cross Compiler

Download the GCC Linaro Linux® compiler for your OS.

Using Windows® as an example, you would download and run:


and then on completion, select

	Add path to environment variable

before you click Finish.

Install GNU ARM Eclipse Build Tools

Download and run the setup wizard.

Using Windows as an example, you would download and run:


On completion, you will find it installed at

	C:\Program Files\GNU ARM Eclipse\Build Tools

Configuring Eclipse

With everything installed, you can now configure Eclipse for your project. This only needs to be done once at the start of a project.

  1. Open Eclipse.

  2. Define the workspace for your project.

      File >> Switch Workspace

  3. Create your project.

      File >> New >> C Project
    • Type in a project name. Here we use HelloARTIK
    • Select project location or keep the default.
    • Select executable target type. Here we chose Hello World ARM C Project
    • Click Next.

  4. Set up the basic properties of your project as appropriate.

  5. For the Linker semi-hosting options, copy and paste in:
      -Wl,-start-group -lgcc -lc -lc -lm -Wl,-end-group
  6. Click Next.

  7. Click Next to accept default configurations.

  8. Provide Toolchain name and path.

    • For Toolchain name, select:
       Linaro ARMv7 Linux GNU EABI HF (arm-linux-gnueabihf-gcc)
    • The Toolchain path should auto-populate with the correct path.

  9. Click Finish. The previously selected "hello world" C code template is displayed.

Setting Project Properties

  1. Choose the Project by clicking on its name (shown in a red circle), then select

      Project >> Properties

  2. Double-click on “C/C++ Build” to expand the menu.
  3. Click on “Settings” to show its content.
  4. Select the “Tool Settings” tab, and click on "Target Processor"

    • Select “cortex-a15” as the ARM family
    • Select “ARM” as the Instruction set

  5. Within the same tab, click on “Cross ARM C Linker” to check linker options.

    The options line should reflect the semi-hosting options you pasted in earlier.

  6. Select the “Toolchains” tab.

    • For Name, copy and paste in:
      Linaro ARMv7 Linux GNU EABI HF (arm-linux-gnueabihf-gcc)
    • For Architecture, select:
      ARM (AArch32)
    • For Prefix, copy and paste in:

  7. Click OK to apply and exit.

Set Project Preferences

  1. Choose the Project by clicking on its name, then select

      Window >> Preferences

  2. Double-click on “C/C++” to expand the menu.

  3. Likewise double-click on “Build” to expand it.

  4. Click on “Global Tools Paths” and enter the correct information.

    • Browse to choose the path to the build tools bin folder
        C:/Program Files/GNU ARM Eclipse/Build Tools/2.6-201507152002/bin
    • For the Default toolchain, select:
        Linaro ARMv7 Linux GNU EABI HF
    • For the Toolchain folder for the Linaro tools, browse to the tool bin folder:
        C:/Program Files (x86)/Linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10/bin

  5. Click OK to apply and exit.

Building and Deploying

Now that your system and project are fully configured, it's time to code and go!

Build the Source Files

When your code is ready to try, generate your output file like this.

 Project >> Build All

The resulting “HelloARTIK.elf” file can be found at the Debug directory of the project workspace. For the workspace c:\my_work, the executable file is located at:


Deploy to Target ARTIK Device

For now, we will just use scp (secure copy) to copy a file between a host and target device that are on the same network (as noted here).

To prepare for copying, open a Bash window and change directories to the file location (remember that the slashes change direction).

Now enter the scp command line. For our example:

$ scp HelloARTIK.elf root@

The Transferring Files section offers a more convenient method for moving the files to the ARTIK board.

Run the Program

In your terminal emulator window, run ls -l to make sure the file is where you expect it to be. Then change the file permissions to make it executable:

# chmod 755 HelloARTIK.elf

Now you can finally run it! The terminal output should look like this.

[root@localhost ~]# ./HelloARTIK.elf
Hello ARM World!
[root@localhost ~]#

Transferring Files

Eclipse Remote System Explorer

The Remote System Explorer supports file transfers and additional connectivity with other networked systems. You may find it more convenient for transferring files than using scp. Follow these instructions to set it up.

  1. Choose the correct viewing perspective.

      Window >> Perspective >> Open Perspective >> Other

  2. Select
      Remote System Explorer 

  3. In Remote System Explorer, click the icon for "Define a connection to remote system".

  4. Select "SSH Only" and enter Host name to create a new connection.

  5. Enter host information and click Finish.

  6. Click OK to connect.

    When the local and remote device icons show a green arrow, the connection is established successfully.

  7. Right-click on the “Ssh Shells” to open a remote terminal window.

  8. Enter a password if requested.

Last updated on: