Keil™, An ARM® Company

MCB2400 User's Guide

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 project.

  1. Select the ARM Toolset that you want to use for your project.
    The default configuration is the RealView Toolset and the information below is based on selecting the RealView Compiler.
  2. Create a New Project File with the µVision menu command Project - New Project.
    Select a microcontroller from the Device Database®. The MCB2400 Board comes with the LPC2478, however, you may also use it to develop code for other LPC24xx device variants, since the LPC2478 represents a superset of several other LPC24xx devices.
  3. Add Startup Code from the folder ..\ARM\BOARDS\KEIL\MCB2400\ to your project. After selecting, µVision prompts with the following dialog: 

    'Copy MCB2400 Startup Code' Dialog

    Answer Yes since this startup code works with most LPC24xx projects.

  4. Add your own Source Code to the project using the µVision editor (or any editor of your choice) by either:
    • Right clicking the mouse in the Project Window on a group and select Add Files to Group from the context menu.
    • Or

    • Opening the Project — Components, Environment and Books — Project Components dialog.
      Within this dialog, you may create and organize files into groups, or create other project targets with different tool configurations.

      Components, Environments and Books Dialog