User`s guide

LPC3250 Developer’s Kit - User’s Guide
Page 35
Copyright 2011 © Embedded Artists AB
Figure 14 Common Driver Library Structure
5.3.1 Compile Using CodeSourcery
This section describes how you compile an application using the CodeSourcery GNU tools. Please
note that there is no guarantee that all applications provided by Embedded Artists will be able to
compile using CodeSourcery GNU since the main tool is Keil’s uVision.
1. Download the CodeSourcey Tools from www.codesourcery.com. The tool is called Sourcery
G++ and there is a Lite Edition available for free after a registration. Select the version for
ARM processors and with the EABI target OS.
2. Download the sample applications from Embedded Artists support site and unzip the file.
3. Start a command prompt (Start button run cmd)
4. Change to the software directory in the recently unzipped file.
5. Run setenv ea3250 gnu.
6. Change directory to the sample application you would like to compile, for example,
software/csps/lpc32xx/bsps/ea3250/examples/timer
7. Run make to compile the sample application.