cancel
Showing results for 
Search instead for 
Did you mean: 

IAR Linker for external SRAM

abrous3d
Associate II
Posted on March 06, 2011 at 19:24

IAR Linker for external SRAM

#winning
3 REPLIES 3
Posted on May 17, 2011 at 14:26

How can I tell the compiler to put  specific variables there ?

 

Not an IAR guy, but there is probably a #pragma for that, check the documentation. The C16/8051 used to be along the lines of

#pragma memory=constseg(MY_CONST):far

const char formatstring[]=''%02X'';

#pragma memory=default

For ARM

Try checking #pragma location, and #pragma section

http://supp.iar.com/FilesPublic/UPDINFO/004916/arm/doc/EWARM_DevelopmentGuide.ENU.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
abrous3d
Associate II
Posted on May 17, 2011 at 14:26

I guess that this is the case. But I tried some with no effect so far ...

John F.
Senior
Posted on May 17, 2011 at 14:26

Online support at IAR no use?

http://supp.iar.com/Support/Request/