Keil Logo

RENAMECLASS Compiler Directive

Abbreviation

RC

Arguments

RENAMECLASS (class = userclass)

Default

None.

µVision

Options — C166 — Misc Controls.

Description

The RENAMECLASS directive changes the name of the predefined memory class to the userclass name specified. This directive is typically used when parts of your project must be located to memory areas that differ from the predefined memroy classes.

Note

  • Class names may be changed only for a complete module.
  • The memory model must be defined before a CODE section is renamed. Therefore, the memory model must be specified before the RENAMECLASS directive is used.
Example
C166 SAMPLE.C LARGE RENAMECLASS (FCODE=FLASH_FCODE)

#pragma HLARGE
#pragma RENAMECLASS (FCODE=BOOT_FCODE)
  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.