Keil Logo Arm Logo

Project Targets and File Groups

Project Targets identify a collection of configuration settings. Many project targets can be created for one project to run the same application with different tool setups. For example, create one target for testing and another target for releasing the application. Most examples delivered with µVision have a target configured for the Simulator and another one for downloading to and debugging the application on hardware. The active project target is displayed as the root element in the window Project.

Switch to another project target using the drop-down in the toolbar.

Build Toolbar

File Groups arrange files into logical blocks. For example, group files according to their function, or create groups that identify software teams. The example below separates the CPU related file from system calls and other source files. This technique makes maintaining complex projects with several 100 files easy. File groups have no influence on the build process.

Create file groups and project targets using the menu Project — Manage — Components, Environment, Books — Project Components.

The window Project shows the active target name with all groups and files.

Project Window

Developers can:

  • Drag & Drop files to another group.
  • Rename the target, group, or file name.
  • Double-click the target name to open the linker scatter file.
  • Double-click a group name to add files to the group.
  • Double-click a file name to open the file in the editor.
  • Select an object and press DEL to remove an object from the project. Files are not deleted from the project folder.
  • Use the context menu to set object properties, manage files and groups, or translate and build the application.

File and Group Attribute icons identify the usage of the object.

Keil logo

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.