This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can I move a C function to sram from program memory?

Hello,

for example: there are stand alone function in program memory,
it doesn't include another function(s), it is not nested, I want to move to sram and to run it there.

void MyFunc(void)  // in program memory
{
   ....
}

is it possible? if yes, how can I move and use it? Please can you give me a short sample?