In this tutorial we will see how to setup the ARM GCC with Eclipse for Explore M3(LPC1768).
Before going for eclipse we need to setup the ARM GCC environment. Please Check this link to setup ARM GCC.

Eclipse And ARM00.png

Downloads

Download the latest version of Eclipse for C/C++ from this link.
Download the Led Blinking Project.
After downloading the software, extract it to some folder and run the eclipse application.

Creating Eclipse Project

Step1:Open the eclipse software and select New -> C Project from the file menu. Eclipse And ARM01.png


Step2:Provide the project name and select Empty Project from GNU AutoTools and click finish. Eclipse And ARM02.png


Step3:Copy the files required for the project.
Downlaod the Led Blinking Project files.
Eclipse And ARM03.png


Step4:Add the files to the project.
The files can be downloaded from the below link. Eclipse And ARM04.png


Step5:Files added to the project. makefile and linker file should be in the same folder. Eclipse And ARM05.png


Step6:Build the project and fix compiler errors/warning if any.. Eclipse And ARM06.png


Step7:Once the project is successfully built, .bin and .hex files will be generated in the same file. Eclipse And ARM07.png

Linker Setting

Start address of the application can be changed in the linker file as shown in the below image.

  1. In case your are using the .hex with flash magic then the start address should be 0x0000.
  2. For using the .bin file with Secondary bootloader, the start address should be 0x2000.

Eclipse And ARM08.png