variable definition in flash memory

Hello
How can i define a variable or string in flash memory in keil mdk 5 ?
Thanks.

Parents
  • Probably the same way you would in any version of the tools?

    static const char foo[] = "I wish I'd read K&R, and other tomes more diligently";

    Then again if you want it to actually be "variable", flash is probably not the desired location.

    See also #pragma, attribute, AT, and assorted directives and scatter file options.

Reply
  • Probably the same way you would in any version of the tools?

    static const char foo[] = "I wish I'd read K&R, and other tomes more diligently";

    Then again if you want it to actually be "variable", flash is probably not the desired location.

    See also #pragma, attribute, AT, and assorted directives and scatter file options.

Children
No data
More questions in this forum