Jump to content


Photo

Ram Managment


1 reply to this topic

#1 Alejandro Flamerich

Alejandro Flamerich

    Newbrie

  • Members
  • 1 posts

Posted 03 September 2010 - 04:09 AM

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

#2 Dave

Dave

    Super Maniac

  • Administrators
  • PipPipPipPipPip
  • 2,091 posts
  • Gender:Male
  • Location:UK
  • Interests:How things work, Electronics, Software, Cycling.

Posted 04 September 2010 - 09:11 AM

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



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users