Creating a Project
Follow the steps below to create a new project file and to specify
and organize your source (and debug) files that are a part of this
Create a New Project File with the µVision
menu command Project — New Project.
Select a microcontroller from the Device Database™.
Use the MCB2103 Board to develop code for the LPC2101, LPC2102, or
Add Startup Code.
The Startup file provides pre-configured startup code for the
MCB2103 board. The Startup file you use varies depending on the
toolset you select.
Copy the appropriate Startup file to your project
folder and add it to your project.
For Keil tools:
For GNU toolset:
For ARM/ADS tools:
Add a Linker Control Script to control the link process
for the GNU tools. Two pre-configured linker control script files
are available are located in the same folder as the Startup file
(see the previous step). They are:
Copy the linker control script file of your choice to
your project folder. This file is required to set up the linker
Flash.ld configures the linker for program code in
Flash ROM (typical configuration).
RAM.ld configures the linker for program code in RAM
(used for more extensive debugging).
Add your own Source Code to the project using the
µVision editor (or any editor of your choice) by
Right-clicking a group in the Project Window,
and selecting Add Files to Group from the context
Use the Components,
Environment and Books toolbar button (or select Project
— Components, Environment and Books — Project
Components) to display the dialog below.
Within this dialog you may create and organize files into groups
or create new project targets that have different tool