Jump to content
Sign in to follow this  
Alejandro Flamerich

Ram Managment

Recommended Posts

I saw how I can do a offset in memory ROM. Like -rb 0xXXXX.

But I couldnt see whether I can configure in the compiler the RAM memory that I want that the compiler uses.

 

It feature is very important for developers. You should consider it for the next release.

 

Good compiler and good price.

 

Regards

Share this post


Link to post
Share on other sites

Alejandro,

I saw how I can do a offset in memory ROM. Like -rb 0xXXXX.

But I couldnt see whether I can configure in the compiler the RAM memory that I want that the compiler uses.

 

It feature is very important for developers. You should consider it for the next release.

There are ways to control some aspects of memory allocation.

To prevent the compiler using an area of memory:

char mem [64] @ 0x100; // allocate array at fixed address

and then don't reference this array in the code.

 

To allocate a variable at a fixed address:

int x @0x123;

 

void main()

{

x = 10;

while(1);

}

 

Did you have something else in mind?

 

Regards

Dave

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×