We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello How can i define a variable or string in flash memory in keil mdk 5 ? Thanks.
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.