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?
That is, linker tab -> Edit.
The linker can store the function in flash, and add the required configuration so the startup code copies the code into RAM. And the linker makes all references to the function point to the correct location in RAM.
Cross posted
my.st.com/.../Flat.aspx
Thanks for your replies,
firstly I wrote my question to keil forum, I waited some and then I wrote ST forum also.
I know to be run functions at sram by linker, I use it for bootloader but I want to move my function(s) to sram from program memory while cpu is working and run them.