From: patrick c. <car...@ya...> - 2005-01-12 09:51:34
|
--- Maarten Brock <sou...@ds...> wrote: > > Hi, > > beeing short of internal DIRECT addressable RAM, > > I moved some variables to INDIRECT addressable RAM > > (idata). > > Now , the problem is that the compiler always > makes > > the > > stack start at the first available byte in DIRECT > RAM, > > so that very few bytes are left for it, even if a > > single one byte variable is allocated in idata. > > Is there a way to make the stack begin AFTER the > few > > bytes allocated in INDIRECT RAM? > > Thanks! > > Yes, either use linker option --pack-iram or use the > latest snapshot > SDCC 2.4.7 which has that as a default. It might > even save you some > data memory (unused register banks). > The --pack-iram seemed not to help me, instead the --stack-loc did. My gratefulness towards you is unchanged. Patrick __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |