|
|||||||||||
|
Technical Support Support Resources
Product Information |
BL51: Specifying CODE and XDATA RangesInformation in this article applies to:
QUESTIONCan I specify a range of XDATA or CODE space? If so, will the linker warn me if my program runs out of RAM or EPROM? ANSWERYes. You may specify a range for the XDATA and CODE linker directives. For example:
Specifies that the linker may locate your program CODE anywhere in the ranges from 0000h to 2000h and from 4000h to 8000h. The linker may locate your program's XDATA variables anywhere from 0000h to 03FFh. The XDATA and CODE ranges are generated from the µVision Options for Target - Target tab when you enter external memory devices. The linker will warn you if your program CODE or XDATA exceeds the specified memory area size. For example:
MORE INFORMATIONSEE 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.