AnsweredAssumed Answered

locate a function in RAM

Question asked by Julian Cox on Jul 19, 2017
Latest reply on Aug 2, 2017 by ZhangJennie

I am still battling to implement a Write a byte in EEPROM. I know that the erase/program functions must be executed from RAM and several posts discuss moving a function into RAM. My question is - Can I specify a RAM address for the necessary functions so that they reside in RAM at build time and I don't have to move them - I can just call them in the normal way (assuming I first disable interrupts). Surely this would speed up overall execution time and reduce code size. If this is possible, how do I do it?