object_attribute
In this section:
Syntax
#pragma object_attribute=object_attribute[object_attribute...]
Parameters
For information about object attributes that can be used with this pragma directive, see Object attributes.
Description
Use this pragma directive to add one or more IAR-specific object attributes to the declaration or definition of a variable or function. Object attributes affect the actual variable or function and not its type. When you define a variable or function, the union of the object attributes from all declarations including the definition, is used.
Example
#pragma object_attribute=__no_init char bar;
is equivalent to:
__no_init char bar;