Keil Logo

Different Compiler and Assembler Settings

You can set different options on file, group, or target level. Click the desired object and invoke the Context Menu from the Project Window. The dialog below shows the compiler settings for main.c file as an example.

File settings overwrite group settings, which in turn overwrite target settings.

The Assembler and Compiler specific dialogs have tri-state controls.
If an option is:

  • gray, the setting from the parent group or target is used.
  • white and not checked, it is disabled.
  • white and checked, it is enabled.

With this technique, you can specify different tool setups for a complete file group and still change settings on a single source file within this file group.

Related Knowledgebase Articles

  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.