Keil Logo

NAME Linker Directive

Abbreviation

NA

Arguments

NAME (modulename)

Default

The modulename of the first input module.

µVision

Options — L166 Misc — Misc Controls.

Description

The NAME directive defines the modulename for the output file. If no modulename is specified with the NAME directive, the name of the first input module is used.

Note

  • The modulename specified with the NAME directive is not the filename of the absolute object module — that is specified on the command line. The modulename is stored in the absolute object module. It may be accesses by a program that reads the contents of that file.
Example
L166 myfile.obj NAME (SAMPLE_PROGRAM)

This example specifies a module name of SAMPLE_PROGRAM which is stored in the generated absolute object module.

  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.