Eclipse Installation for NXP LPC2103 (Windows)

{autotoc enabled=yes}

Installation of gcc compiler for Windows

We choice an existing gcc toolchain that is well maintain. It called "devkitARM", which is using by those NDS homebrew programmer. On Windows, it using a Installer/Updater to do the installation.

1) First, download the Updater at:

2) Run the Updater.

3) Select "Download and install".

4) Select Keep or Remove downloaded files as your wish.

5) Select the component needed. For ARM complie, we just need Minimal System (msys), devkitARM (gcc), Insight (gdb front-end).

6) Final, select the destination folder. Please use the default "C:\devkitPro". If you install to other place, you need to modify the Eclipse project provided later to match your chose.

7) After the installation, let's try it at a DOS prompt.



Installation of Eclipse

1) Download the Eclipse IDE for C/C++ Developers from

2) Install the Eclipse IDE.

3) Prepare a workspace for you ARM development, example: D:\MyArmProjects

4) Create the TEMP directory C:\Temp if it isn't exist.

5) Download the Eclipse Workspace preferences file "" and decompress to your hard disk (example: D:\Temp).

6) Download the example project example_eclipse_20110120.tar.bz2 and decompress it to your hard disk (example: D:\Temp\example).

7) Start the Eclipse and select the new created workspace.
eclipse arm 1

8) After Eclipse started, a Welcome screen will show. Just close it and get into the IDE.

9) Click [File] -> [Import] to popup the Import Dialog. Select [General] -> [Preferences] and then click [Next].
eclipse arm 2

10) Select the Eclipse Workspace preferences file "ARM_EclipsePreferences.epf", then click [Finish].
eclipse arm 3

11) Your Eclipse workspace is ready. Next is import the example project.

12) Click [File] -> [Import] to popup the Import Dialog. Select [General] -> [Existing Projects into Workspace] and then click [Next].
eclipse arm 4

13) Select the decompressed example project (D:\Temp\example). Select the checkbox [Copy projects into workspace]. Then click [Finish] to start the import.
eclipse arm 5

14) After that, you will see a new project added to the Project Explorer.
eclipse arm 6

15) Right click the project and select [Build Project].

16) If everything goes right, the example.exe will created under "Release" directory. You need to right click the project and select [Refresh] to update the Project Explorer.
eclipse arm 7

If something goes wrong, you should check the Console tab to see whats happen.
eclipse arm 8

Here is the console output for a correct build.
eclipse arm 9


Create your project

You should use the example project as a template to create a new project. If you doing this way, then you can save a lot of time to from setup the building options again. Below is the procedure for that.

1) Right click the example project and select [Copy].

2) Right click the blank area of the Project Explorer and select [Paste]. A "Copy Project" dialog will popup. Enter the name for your new project, then click [OK].
eclipse arm 10

3) You will see your new project at Project Explorer.
eclipse arm 11

4) Click the "+" sign of the new project to expand it. Right click on the "Release" directory and select [Delete] to remove it. After that your project should look like this.
eclipse arm 12

5) After that, your new project is ready for modify.


Please publish modules in offcanvas position.