ARM Technical Support Knowledge Articles

RAMSIZE DIRECTIVE

Applies to: BL51 Code-banking Linker/Locator

Answer

QUESTION

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?

ANSWER

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

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential