|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
I'm running out of DATA address space. The linker complains whenever the total size of DATA+IDATA exceeded 128 bytes. The device I'm using has 256 bytes of internal DATA. How do I tell the linker about that?
You may use the L51/BL51 RAMSIZE directive to specify the size of internal DATA/IDATA memory. To use it, when you link your program, just put the RAMSIZE directive on the linker command line. For example...
BL51 junk.obj ... RAMSIZE(256)
That's all there is to it.
Note that this directive is supported by C51 Version 2 and later.
Article last edited on: 2004-06-07 12:18:52
Did you find this article helpful? Yes No
How can we improve this article?