Keil Logo

Setup Default Arm Compiler Version

The following steps describe how to set a default version for each Arm Compiler (5 and 6).

  1. Click Project - Manage - Project Items - Folders/Extensions - Setup Default ARM Compiler Version.

    Manage Project Items - Folders/Extensions Dialog

    The dialog lists all supported Arm Compilers and allows you to associate a default version:

    Components, Environments and Books Dialog

  2. Select the compiler from the field Default Version to use. The entry Unspecified : use latest compiler version installed x associates the compiler with the highest version number. This ensures building your projects with the latest compiler version registered. Alternatively, you can select a specific compiler version from the drop-down list.

Target-specific Arm Compiler Version Pre-Selection

The following rules apply for the associated Arm Compiler when creating a new project:

  • For Armv8-M based devices (Cortex-M23/M33/M35P/M55), Arm Compiler 6 is selected and the only option.
  • For Armv6-M (Cortex-M0/M0+) and Armv7-M (Cortex-M3/M4/M7), Arm Compiler 6 is selected. You can choose to use Arm Compiler 5 instead.
  • For legacy cores (Arm7, Arm9, Cortex-R4(F)), Arm Compiler 5 is selected and the only option.

See also:

  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.