Keil Logo

OBJECT Compiler Directive

Abbreviation

OJ

Arguments

An optional filename enclosed in parentheses.

Default

OBJECT (filename.OBJ)

µVision

Options — Output — Select Folder for Objects.

Description

The OBJECT directive specifies the filename of the object file. By default, the object file created is named using the source file name and the .OBJ file extension.

See Also

NOOBJECT

Example
C51 SAMPLE.C OBJECT(sample1.obj)

#pragma oj(sample_1.obj)
  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.