Keil™, An ARM® Company

Technical Support

BL51: RAMSIZE DIRECTIVE

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.

Last Reviewed: Monday, June 07, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure