Keil Logo

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 7, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.