Skip to main content
abrous3d
Associate II
March 6, 2011
Question

IAR Linker for external SRAM

  • March 6, 2011
  • 3 replies
  • 894 views
Posted on March 06, 2011 at 19:24

IAR Linker for external SRAM

#winning
    This topic has been closed for replies.

    3 replies

    abrous3d
    abrous3dAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 14:26

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

    Tesla DeLorean
    Guru
    May 17, 2011
    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 VenmoUp vote any posts that you find helpful, it shows what's working..
    John F.
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:26

    Online support at IAR no use?

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