Keil Logo

Create a Project

Create a Project with µVision, and specify and organize the source files of the project.

  1. Create a new project with the µVision menu Project — New Project. Enter the name of the project file.
  2. Select the device from the next dialog. The MCB1200 Board comes with the NXP LPC1227FBD64/301 device. However, the board can be used to develop code for other LPC122x device variants, because the LPC1227FBD64/301 represents a super-set of several other LPC122x devices.
  3. µVision prompts whether to add the Startup Code to the project. The Startup Code configures the microcontroller device and initializes the compiler run-time system.

    Answer with Yes.

    'Copy MCB1200 Startup Code' Dialog
  4. Open the dialog Project — Components, Environment and Books — Project Components to manage project targets, files, and groups. Targets are useful for testing the same code on different system configurations. Groups help to organize and structure the code.

    Components, Environments and Books Dialog

  5. Create the source code file and add it to the project. Right click the mouse in the window Project on a group and select Add Files to Group from the context menu.

    Wherever possible, write CMSIS-compliant code, or use CMSIS-files provided by the vendors.

Note

  • The chapter Create Application of the MDK-ARM Primer manual explains each step in detail and can be used as a guide to create projects.
  • Configure Startup Code gives hints on how to adapt the startup code.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.