CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Not enough RAM for all variables

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

Not enough RAM for all variables
PostPosted: Tue Jul 04, 2006 3:15 am     Reply with quote

Hi Everybody,

I tryed to insert a bootloader in a working project and the compiler gave me the error "Not enough RAM for all variables".

I suppose the bootloader may use the same location of project.

Which the way to force loader.c to use same ram location of project ?

Thanks for help,
kypec



Joined: 20 Sep 2003
Posts: 54

View user's profile Send private message

PostPosted: Tue Jul 04, 2006 4:16 am     Reply with quote

Please read about #byte, #locate and #reserve directives in the compiler's manual. They should help you with placing your variables in RAM manually.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Jul 04, 2006 5:01 am     Reply with quote

Quote:
Which the way to force loader.c to use same ram location of project ?
See the auto=0 parameter for the #org directive in the manual.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group