Keil Logo

Build the Project

To build your project:

Build Target ButtonClick the Build button to translate all source files and link the application.

The Build Output window displays errors, warnings, and build messages during the build process. Double-click a message to open the corresponding source file.

Build Output

After you have built the project, you can:

  • View the Build Log file, which provides information about the build process and used Software Components.
  • Modify toolchain options in the dialog Project — Options for Target.
  • Modify the source code. The Build button translates modified or new source files and generates the executable file. The Rebuild command translates all source files regardless of modifications.
    µVision maintains a file dependency list and knows all include files used within a source file. Tool options are also saved in the file dependency list. Thus, µVision builds files only when needed.
  • Test applications with the µVision Debugger. Two debugging modes exist: The Simulator allows verifying the application on your PC without connecting any hardware. The Target Debugger allows testing the application on an evaluation board or a hardware platform.
  • Program your application into Flash ROM. µVision integrates command-line driven Flash utilities or can use a ULINK USB-JTAG family Adapter for Flash programming. You might have to create a HEX file to use Flash programming utilities.


  • Toolchains pre-configure the most common device settings, including default paths. The following error message might occur because of a wrong default path:
    error:    #5: cannot open source file No such file or directory
    If this message refers to a header file, startup file, or system file, then reselect your device in Project — Options for Target — Device.
  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.