|
|||||||||||
|
Technical Support Support Resources
Product Information |
C166: Constants in Specific Memory AreasInformation in this article applies to:
QUESTIONI have a large pointer array for text constants. Here is a simplified example:
However, this text is allocated in NCONST (near) memory. I would like to have this text in other ROM spaces, for example in HCONST (huge), since there is no more space in my NCONST space. How may I achieve that? ANSWERJust specify the correct memory type in your definition. For example:
Note that this works only if you are using C166 Version 4.24 or higher. To access such variables, you can use the following functions:
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.