|
| 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)
|
Related Knowledgebase Articles |
|