|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Locating Initialized Variables at Absolute AddressesInformation in this article applies to:
QUESTIONI want to locate some initialized constants and variables in memory, but I can't initialize and locate them with the _at_ keyword. What's wrong? ANSWERC51 does not allow you to both locate a variable using the _at_ keyword and initialize it. You may use the linker to locate the variable. For example, if you want to locate an initialized constant array into code space...
If you use µVision and BL51 enter ?CO?TEMP(0x5000) under Options for Target - BL51 Locate - Code:. For LX51, enter ?CO?TEMP(C:0x5000) under Options for Target - LX51 Locate - User Segments. SEE ALSO
Last 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.