|
| Creating a ProjectFollow 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 project. - Create a new Project File with the µVision menu command Project — New Project.
Select a microcontroller from the Device Database™. Use the MCB2100 Board to develop code for many of the LPC21xx's family of devices.
- Add Startup Code.
The Startup file provides preconfigured startup code for the MCB2100 board. The Startup file you use varies depending on the toolset you select.- For GNU tools: ..\KEIL\ARM\GNU\BOARDS\KEIL\MCB2100\BLINKY.
Copy the appropriate Startup file to your project folder and add it to your project. - Add a Linker Control Script that controls the link process of the GNU tools. They are located in the same folder: ..\KEIL\ARM\GNU\BOARDS\KEIL\MCB2100\BLINKY. Two pre-configured linker control script files are available:
- 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).
Copy the linker control script file of your choice to your project folder. This file is required to set up the linker controls.
- Add your own Source Code to the project using the µVision editor (or any editor of your choice) by either:
Right-clicking a group in the Project Window, and selecting Add Files to Group from the context menu. Or 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 other project targets with different tool configurations.

|
|