I have run out of program memory and want to place some of the rarely used functions in the extended memory. Can anyone tell me how to do this?
If I have a function called test() then how do I place this in the XMEM?
Is it something like extern test() ???
How much data does inserting nodebug in from of fuctions can save me?
Please share your ideas
Place the following line near the top of your code:
This allows the compiler to locate functions in XMEM. If you have specific functions that must be in Root memory, you can then add the keyword ROOT (ie. root int myfunction(int myparm) ) which will force that function to be located in Root memory. All other functions the compiler is free to locate where it has space.