Skip to content

5_Setting up Eclipse

Rok Palhartinger edited this page Jan 29, 2015 · 2 revisions

Here i will explain an brief steps how to setup an Eclipse IDE with arm Tool Chain in Windows

Prerequisite:

  • Java SDK

Download:

  • Eclipse IDE for C/C++ Developers Link

  • GNU ARM Eclipse Plug-ins Link

  • GNU Tools for ARM Embedded Processors Link

  • Coreutils Link

Later:

  • OpenOCD

  • St-link utility

Install (extract) Eclipse in some directory. Be aware that coreutils path doesn't have spaces in the name!!! I recommend the following structure:

c:\embedded_dev
   \Eclipse
   \ToolChain
   \CoreUtils
   \WorkSpace
  1. After install, put the shortcut of eclipse to your desktop and run the app. Create the WorkSpace in the directory as shown in the recommended directory structure.
  2. In the eclipse go to Help => Install New Software... => click Add => Archive and select the downloaded archive (my is ilg.gnuarmeclipse.repository-2.5.1-201412191510.zip). Select all and confirm all.
  3. Install coreutils in to the directory mention above
  4. When you created a new project must select the bin directory of your toolchain. (New => C Project => STM32F103 C/C++ Project => .... => Cross GNU ARM ToolChain => Finish)

Now you have the basic eclipse environment for embbeded arm developement up and running. When i receive the st-link v2 programmer/debugger i will show how to install and setup an programming and debugguing environment in eclipse.

[Video] (www.youtube.com/watch?v=kjvqySyNw20)

Clone this wiki locally